Interface PersistentEntityPath<T>
- Type Parameters:
T- The path type
- All Superinterfaces:
jakarta.persistence.criteria.Expression<T>,IExpression<T>,ISelection<T>,jakarta.persistence.criteria.Path<T>,jakarta.persistence.criteria.Selection<T>,jakarta.persistence.TupleElement<T>
- All Known Subinterfaces:
PersistentAssociationPath<OwnerType,,AssociatedEntityType> PersistentCollectionAssociationPath<OwnerType,,AssociatedEntityType> PersistentEntityCollectionJoin<OwnerType,,AssociatedEntityType> PersistentEntityFrom<OwnerType,,AssociatedEntityType> PersistentEntityJoin<OwnerType,,AssociatedEntityType> PersistentEntityListJoin<OwnerType,,AssociatedEntityType> PersistentEntityRoot<T>,PersistentEntitySetJoin<OwnerType,,AssociatedEntityType> PersistentListAssociationPath<OwnerType,,AssociatedEntityType> PersistentSetAssociationPath<OwnerType,AssociatedEntityType>
- All Known Implementing Classes:
AbstractPersistentEntityJoinSupport
public interface PersistentEntityPath<T>
extends jakarta.persistence.criteria.Path<T>, IExpression<T>
The persistent entity
Path.- Since:
- 3.2
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription<Y> @NonNull PersistentPropertyPath<Y>Get a persistent property path.default <K,V, M extends Map<K, V>>
jakarta.persistence.criteria.Expression<M>default <E,C extends Collection<E>>
jakarta.persistence.criteria.Expression<C>default <Y> PersistentPropertyPath<Y>@NonNull PersistentEntityMethods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, getExpressionType, getJavaType, in, in, in, in, isNotNull, isNull, visitExpression, visitSelectionMethods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.criteria.Path
getModel, getParentPath, type
-
Method Details
-
getPersistentEntity
- Returns:
- The persistent entity
-
get
Get a persistent property path.- Specified by:
getin interfacejakarta.persistence.criteria.Path<T>- Type Parameters:
Y- The property type- Parameters:
attributeName- The property name- Returns:
- The property path
-
get
default <Y> PersistentPropertyPath<Y> get(jakarta.persistence.metamodel.SingularAttribute<? super T, Y> attribute) - Specified by:
getin interfacejakarta.persistence.criteria.Path<T>
-
get
default <E,C extends Collection<E>> jakarta.persistence.criteria.Expression<C> get(jakarta.persistence.metamodel.PluralAttribute<T, C, E> collection) - Specified by:
getin interfacejakarta.persistence.criteria.Path<T>
-
get
default <K,V, jakarta.persistence.criteria.Expression<M> getM extends Map<K, V>> (jakarta.persistence.metamodel.MapAttribute<T, K, V> map) - Specified by:
getin interfacejakarta.persistence.criteria.Path<T>
-