Package org.hibernate.query.criteria
Interface JpaPath<T>
-
- All Superinterfaces:
jakarta.persistence.criteria.Expression<T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaSelection<T>
,JpaTupleElement<T>
,jakarta.persistence.criteria.Path<T>
,jakarta.persistence.criteria.Selection<T>
,Serializable
,jakarta.persistence.TupleElement<T>
- All Known Subinterfaces:
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>
,SelfInterpretingSqmPath<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
,DiscriminatorSqmPath
,NonAggregatedCompositeSimplePath
,SqmAnyValuedSimplePath
,SqmBagJoin
,SqmBasicValuedSimplePath
,SqmCorrelatedBagJoin
,SqmCorrelatedCrossJoin
,SqmCorrelatedEntityJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedPluralPartJoin
,SqmCorrelatedRoot
,SqmCorrelatedRootJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmCrossJoin
,SqmCteJoin
,SqmCteRoot
,SqmDerivedJoin
,SqmDerivedRoot
,SqmElementAggregateFunction
,SqmEmbeddedValuedSimplePath
,SqmEntityJoin
,SqmEntityValuedSimplePath
,SqmIndexAggregateFunction
,SqmIndexedCollectionAccessPath
,SqmListJoin
,SqmMapJoin
,SqmPluralPartJoin
,SqmPluralValuedSimplePath
,SqmRoot
,SqmSetJoin
,SqmSingularJoin
,SqmTreatedBagJoin
,SqmTreatedCrossJoin
,SqmTreatedEntityJoin
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedPluralPartJoin
,SqmTreatedRoot
,SqmTreatedSetJoin
,SqmTreatedSimplePath
,SqmTreatedSingularJoin
public interface JpaPath<T> extends JpaExpression<T>, jakarta.persistence.criteria.Path<T>
API extension to the JPAPath
contract
-
-
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(jakarta.persistence.metamodel.MapAttribute<T,K,V> map)
<E,C extends Collection<E>>
JpaExpression<C>get(jakarta.persistence.metamodel.PluralAttribute<T,C,E> collection)
<Y> JpaPath<Y>
get(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute)
<Y> JpaPath<Y>
get(String attributeName)
JpaPath<?>
getLhs()
The source (think "left hand side") of this pathNavigablePath
getNavigablePath()
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, 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
-
-
-
-
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:
getParentPath
in interfacejakarta.persistence.criteria.Path<T>
-
get
<Y> JpaPath<Y> get(jakarta.persistence.metamodel.SingularAttribute<? super T,Y> attribute)
- Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
get
<E,C extends Collection<E>> JpaExpression<C> get(jakarta.persistence.metamodel.PluralAttribute<T,C,E> collection)
- Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
get
<K,V,M extends Map<K,V>> JpaExpression<M> get(jakarta.persistence.metamodel.MapAttribute<T,K,V> map)
- Specified by:
get
in interfacejakarta.persistence.criteria.Path<T>
-
type
JpaExpression<Class<? extends T>> type()
- Specified by:
type
in interfacejakarta.persistence.criteria.Path<T>
-
-