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 PersistentEntity
Methods inherited from interface io.micronaut.data.model.jpa.criteria.IExpression
as, getExpressionType, getJavaType, in, in, in, in, isNotNull, isNull, visitExpression, visitSelection
Methods inherited from interface io.micronaut.data.model.jpa.criteria.ISelection
alias, getAlias, getCompoundSelectionItems, isCompoundSelection
Methods 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:
get
in 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:
get
in 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:
get
in 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:
get
in interfacejakarta.persistence.criteria.Path<T>
-