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<T>,JpaFrom<O,T>,JpaJoin<O,T>,JpaJoinedFrom<O,T>,JpaListJoin<O,T>,JpaMapJoin<O,K,V>,JpaPluralJoin<O,C,E>,JpaRoot<T>,JpaSetJoin<O,T>,SqmAttributeJoin<O,T>,SqmCorrelation<O,T>,SqmFrom<O,T>,SqmJoin<O,T>,SqmPath<T>,SqmPathWrapper<W,T>,SqmQualifiedJoin<O,T>,SqmSimplePath<T>,SqmTreatedPath<T,S>
- All Known Implementing Classes:
AbstractSqmAttributeJoin,AbstractSqmFrom,AbstractSqmJoin,AbstractSqmPath,AbstractSqmPluralJoin,AbstractSqmQualifiedJoin,AbstractSqmSimplePath,AbstractSqmSpecificPluralPartPath,AnyDiscriminatorSqmPath,EmbeddedDiscriminatorSqmPath,EntityDiscriminatorSqmPath,NonAggregatedCompositeSimplePath,SqmAnyValuedSimplePath,SqmBagJoin,SqmBasicValuedSimplePath,SqmCorrelatedBagJoin,SqmCorrelatedCrossJoin,SqmCorrelatedCteJoin,SqmCorrelatedDerivedJoin,SqmCorrelatedDerivedRoot,SqmCorrelatedDerivedRootJoin,SqmCorrelatedEntityJoin,SqmCorrelatedListJoin,SqmCorrelatedMapJoin,SqmCorrelatedPluralPartJoin,SqmCorrelatedRoot,SqmCorrelatedRootJoin,SqmCorrelatedSetJoin,SqmCorrelatedSingularJoin,SqmCrossJoin,SqmCteJoin,SqmCteRoot,SqmDerivedJoin,SqmDerivedRoot,SqmElementAggregateFunction,SqmEmbeddedValuedSimplePath,SqmEntityJoin,SqmEntityValuedSimplePath,SqmFkExpression,SqmFunctionPath,SqmIndexAggregateFunction,SqmIndexedCollectionAccessPath,SqmListJoin,SqmMapJoin,SqmPluralPartJoin,SqmPluralValuedSimplePath,SqmRoot,SqmSetJoin,SqmSingularJoin,SqmTreatedBagJoin,SqmTreatedCrossJoin,SqmTreatedEmbeddedValuedSimplePath,SqmTreatedEntityJoin,SqmTreatedEntityValuedSimplePath,SqmTreatedListJoin,SqmTreatedMapJoin,SqmTreatedPluralPartJoin,SqmTreatedRoot,SqmTreatedSetJoin,SqmTreatedSingularJoin
public interface JpaPath<T> extends JpaExpression<T>, Path<T>
API extension to the JPAPathcontract
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <K,V,M extends Map<K,V>>
JpaExpression<M>get(MapAttribute<T,K,V> map)<E,C extends Collection<E>>
JpaExpression<C>get(PluralAttribute<T,C,E> collection)<Y> JpaPath<Y>get(SingularAttribute<? super T,Y> attribute)<Y> JpaPath<Y>get(String attributeName)JpaPath<?>getLhs()The source (think "left hand side") of this pathNavigablePathgetNavigablePath()Get this path's NavigablePathdefault JpaPath<?>getParentPath()<S extends T>
JpaPath<S>treatAs(Class<S> treatJavaType)Support for JPA's explicit (TREAT) down-casting.<S extends T>
JpaPath<S>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
-
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 Detail
-
getNavigablePath
NavigablePath getNavigablePath()
Get this path's NavigablePath
-
getLhs
JpaPath<?> getLhs()
The source (think "left hand side") of this path
-
treatAs
<S extends T> JpaPath<S> treatAs(Class<S> treatJavaType)
Support for JPA's explicit (TREAT) down-casting.
-
treatAs
<S extends T> JpaPath<S> treatAs(EntityDomainType<S> treatJavaType)
Support for JPA's explicit (TREAT) down-casting.
-
getParentPath
default JpaPath<?> getParentPath()
- Specified by:
getParentPathin interfacePath<T>
-
get
<Y> JpaPath<Y> get(SingularAttribute<? super T,Y> attribute)
-
get
<E,C extends Collection<E>> JpaExpression<C> get(PluralAttribute<T,C,E> collection)
-
get
<K,V,M extends Map<K,V>> JpaExpression<M> get(MapAttribute<T,K,V> map)
-
-