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 entity
Root.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptiondefault <Y> @NonNull PersistentPropertyPath<Y>get(@NonNull PersistentProperty persistentProperty) Returns the property expression.default <Y> @NonNull IExpression<Y>id()Returns the entity ID expression.default <Y> @NonNull PersistentPropertyPath<Y>version()Returns the entity version expression.default voidvisitExpression(ExpressionVisitor expressionVisitor) Visit the expression.Methods inherited from interface jakarta.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface jakarta.persistence.criteria.From
getCorrelationParent, getJoins, isCorrelated, join, join, joinMap, joinMapMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, getExpressionType, getJavaType, in, in, in, in, isNotNull, isNull, visitSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.criteria.Path
getParentPath, typeMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityFrom
getPersistentJoins, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinSet, joinSetMethods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityPath
get, get, get, get, getPersistentEntityMethods inherited from interface jakarta.persistence.criteria.Root
getModel
-
Method Details
-
id
Returns the entity ID expression.- Type Parameters:
Y- The id type- Returns:
- The ID expression
-
version
Returns the entity version expression.- Type Parameters:
Y- The version type- Returns:
- The version expression
-
get
@NonNull default <Y> @NonNull PersistentPropertyPath<Y> get(@NonNull @NonNull PersistentProperty persistentProperty) Returns the property expression.- Type Parameters:
Y- The persistent property- Parameters:
persistentProperty- The persistent property- Returns:
- The property expression
- Since:
- 4.8.0
-
visitExpression
Description copied from interface:IExpressionVisit the expression.- Specified by:
visitExpressionin interfaceIExpression<T>- Parameters:
expressionVisitor- The expression visitor
-