Interface PersistentEntityRoot<T>
-
- Type Parameters:
T
- The root type
- All Superinterfaces:
jakarta.persistence.criteria.Expression<T>
,jakarta.persistence.criteria.FetchParent<T,T>
,jakarta.persistence.criteria.From<T,T>
,IExpression<T>
,ISelection<T>
,jakarta.persistence.criteria.Path<T>
,PersistentEntityFrom<T,T>
,PersistentEntityPath<T>
,jakarta.persistence.criteria.Root<T>
,jakarta.persistence.criteria.Selection<T>
,jakarta.persistence.TupleElement<T>
public interface PersistentEntityRoot<T> extends jakarta.persistence.criteria.Root<T>, PersistentEntityFrom<T,T>
The persistent entityRoot
.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default <Y> jakarta.persistence.criteria.Expression<Y>
id()
Returns the entity ID expression.default <Y> PersistentPropertyPath<Y>
version()
Returns the entity version expression.-
Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
-
Methods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, joinMap, joinMap
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, in, in, in, in, isBoolean, isComparable, isNotNull, isNull, isNumeric
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
-
Methods inherited from interface jakarta.persistence.criteria.Path
get, get, get, getParentPath, type
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityFrom
join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinSet, joinSet
-
Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPath
get, getPersistentEntity
-
-
-
-
Method Detail
-
id
@NonNull default <Y> jakarta.persistence.criteria.Expression<Y> id()
Returns the entity ID expression.- Type Parameters:
Y
- The id type- Returns:
- The ID expression
-
version
@NonNull default <Y> PersistentPropertyPath<Y> version()
Returns the entity version expression.- Type Parameters:
Y
- The version type- Returns:
- The version expression
-
-