Package org.hibernate.query.criteria
Interface JpaPath<T>
- All Superinterfaces:
Expression<T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaSelection<T>
,JpaTupleElement<T>
,Path<T>
,Selection<T>
,Serializable
,TupleElement<T>
- All Known Subinterfaces:
DiscriminatorSqmPath<T>
,JpaCollectionJoin<O,
,T> JpaCrossJoin<T>
,JpaDerivedFrom<T>
,JpaDerivedJoin<T>
,JpaDerivedRoot<T>
,JpaEntityJoin<L,
,R> JpaFrom<O,
,T> JpaFunctionFrom<O,
,T> JpaFunctionJoin<E>
,JpaFunctionRoot<E>
,JpaJoin<L,
,R> JpaListJoin<O,
,T> JpaMapJoin<O,
,K, V> JpaPluralJoin<O,
,C, E> JpaRoot<T>
,JpaSetJoin<O,
,T> JpaTreatedFrom<L,
,R, R1> JpaTreatedJoin<L,
,R, R1> JpaTreatedPath<T,
,S> SqmAttributeJoin<O,
,T> SqmCorrelatedJoin<L,
,R> SqmCorrelatedSingularValuedJoin<L,
,R> SqmCorrelation<L,
,R> SqmFrom<L,
,R> SqmJoin<L,
,R> SqmPath<T>
,SqmPathWrapper<W,
,T> SqmSimplePath<T>
,SqmSingularValuedJoin<L,
,R> SqmTreatedAttributeJoin<L,
,R, R1> SqmTreatedFrom<L,
,R, R1> SqmTreatedJoin<L,
,R, R1> SqmTreatedPath<T,
S>
- All Known Implementing Classes:
AbstractSqmAttributeJoin
,AbstractSqmFrom
,AbstractSqmJoin
,AbstractSqmPath
,AbstractSqmPluralJoin
,AbstractSqmSimplePath
,AbstractSqmSpecificPluralPartPath
,AnyDiscriminatorSqmPath
,EmbeddedDiscriminatorSqmPath
,EntityDiscriminatorSqmPath
,NonAggregatedCompositeSimplePath
,SqmAnyValuedSimplePath
,SqmBagJoin
,SqmBasicValuedSimplePath
,SqmCorrelatedBagJoin
,SqmCorrelatedCrossJoin
,SqmCorrelatedEntityJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedPluralPartJoin
,SqmCorrelatedRoot
,SqmCorrelatedRootJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmCrossJoin
,SqmCteJoin
,SqmCteRoot
,SqmDerivedJoin
,SqmDerivedRoot
,SqmElementAggregateFunction
,SqmEmbeddedValuedSimplePath
,SqmEntityJoin
,SqmEntityValuedSimplePath
,SqmFkExpression
,SqmFunctionJoin
,SqmFunctionPath
,SqmFunctionRoot
,SqmIndexAggregateFunction
,SqmIndexedCollectionAccessPath
,SqmListJoin
,SqmMapJoin
,SqmPluralPartJoin
,SqmPluralValuedSimplePath
,SqmRoot
,SqmSetJoin
,SqmSingularJoin
,SqmTreatedBagJoin
,SqmTreatedCrossJoin
,SqmTreatedEmbeddedValuedSimplePath
,SqmTreatedEntityJoin
,SqmTreatedEntityValuedSimplePath
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedPluralPartJoin
,SqmTreatedRoot
,SqmTreatedSetJoin
,SqmTreatedSimplePath
,SqmTreatedSingularJoin
API extension to the JPA
Path
contract-
Method Summary
Modifier and TypeMethodDescription<K,
V, M extends Map<K, V>>
Expression<M>get
(MapAttribute<? super T, K, V> map) <E,
C extends Collection<E>>
Expression<C>get
(PluralAttribute<? super T, C, E> collection) <Y> JpaPath<Y>
get
(SingularAttribute<? super T, Y> attribute) <Y> JpaPath<Y>
JpaPath<?>
getLhs()
The source (think "left hand side") of this pathGet this path's NavigablePathdefault JpaPath<?>
<S extends T>
JpaTreatedPath<T,S> Support for JPA's explicit (TREAT) down-casting.treatAs
(EntityDomainType<S> treatJavaType) Support for JPA's explicit (TREAT) down-casting.JpaExpression<Class<? extends T>>
type()
Methods inherited from interface org.hibernate.query.criteria.JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
getLhs
JpaPath<?> getLhs()The source (think "left hand side") of this path -
treatAs
Support for JPA's explicit (TREAT) down-casting. -
treatAs
Support for JPA's explicit (TREAT) down-casting. -
getParentPath
- Specified by:
getParentPath
in interfacePath<T>
-
get
-
get
-
get
-
type
JpaExpression<Class<? extends T>> type() -
get