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<L, 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>, SqmBooleanPath, SqmCorrelatedJoin<L, R>, SqmCorrelatedSingularValuedJoin<L, R>, SqmCorrelation<L, R>, SqmFrom<L, R>, SqmJoin<L, R>, SqmNumericPath<N>, SqmPath<T>, SqmPathWrapper<W, T>, SqmPluralPath<C, E>, SqmSimplePath<T>, SqmSingularValuedJoin<L, R>, SqmTemporalPath<T>, SqmTextPath, 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, NonAggregatedCompositeSimplePath, SqmAnyValuedSimplePath, SqmBagJoin, SqmBasicValuedSimplePath, SqmBooleanValuedSimplePath, SqmComparableValuedSimplePath, SqmCorrelatedBagJoin, SqmCorrelatedCrossJoin, SqmCorrelatedCteJoin, SqmCorrelatedDerivedJoin, SqmCorrelatedDerivedRoot, SqmCorrelatedDerivedRootJoin, 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, SqmNumericValuedSimplePath, SqmPluralPartJoin, SqmPluralPartSelectionPath, SqmPluralValuedSimplePath, SqmRoot, SqmSetJoin, SqmSingularJoin, SqmTemporalValuedSimplePath, SqmTextValuedSimplePath, 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>>
JpaPluralExpression<M, V> get(MapAttribute<? super T, K, V> map) Create a path for the given attribute.<E, C extends Collection<E>>
JpaPluralExpression<C, E> get(PluralAttribute<? super T, C, E> collection) Create a path for the given attribute.<Y> JpaPath<Y> get(SingularAttribute<? super T, Y> attribute) Create a path for the given attribute.<Y> JpaPath<Y> Create a path for the given attribute.JpaPath<?> getLhs()The source (think "left hand side") of this pathGet this path's NavigablePathdefault JpaPath<?> Return the parent path.Downcast this path to the specified subtype.<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()Create an expression for the type of this path.Methods inherited from interface JpaExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, coalesce, coalesce, count, countDistinct, equalTo, equalTo, in, in, in, in, in, isMember, isNotMember, isNotNull, isNull, notEqualTo, notEqualTo, nullif, nullif, selectCase, selectCaseMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeIfKnown, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface TupleElement
getAlias
-
Method Details
-
getLhs
-
treatAs
-
treat
-
treatAs
Support for JPA's explicit (TREAT) down-casting. -
getParentPath
Return the parent path.- Specified by:
getParentPathin interfacePath<T>
-
get
-
get
@Nonnull <E, C extends Collection<E>> JpaPluralExpression<C,E> get(@Nonnull PluralAttribute<? super T, C, E> collection) Create a path for the given attribute. -
get
@Nonnull <K, V, M extends Map<K,V>> JpaPluralExpression<M,V> get(@Nonnull MapAttribute<? super T, K, V> map) Create a path for the given attribute. -
type
-
get