Interface JpaFrom<O,T>
- All Superinterfaces:
Expression<T>, FetchParent<O,T>, From<O, T>, JpaCriteriaNode, JpaExpression<T>, JpaFetchParent<O, T>, JpaPath<T>, JpaSelection<T>, JpaTupleElement<T>, Path<T>, Selection<T>, Serializable, TupleElement<T>
- All Known Subinterfaces:
JpaCollectionJoin<O,T>, JpaCrossJoin<L, T>, JpaDerivedFrom<T>, JpaDerivedJoin<T>, JpaDerivedRoot<T>, JpaEntityJoin<L, R>, 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>, SqmAttributeJoin<O, T>, SqmCorrelatedJoin<L, R>, SqmCorrelatedSingularValuedJoin<L, R>, SqmCorrelation<L, R>, SqmFrom<L, R>, SqmJoin<L, R>, SqmSingularValuedJoin<L, R>, SqmTreatedAttributeJoin<L, R, R1>, SqmTreatedFrom<L, R, R1>, SqmTreatedJoin<L, R, R1>
- All Known Implementing Classes:
AbstractSqmAttributeJoin, AbstractSqmFrom, AbstractSqmJoin, AbstractSqmPluralJoin, SqmBagJoin, SqmCorrelatedBagJoin, SqmCorrelatedCrossJoin, SqmCorrelatedCteJoin, SqmCorrelatedDerivedJoin, SqmCorrelatedDerivedRoot, SqmCorrelatedDerivedRootJoin, SqmCorrelatedEntityJoin, SqmCorrelatedListJoin, SqmCorrelatedMapJoin, SqmCorrelatedPluralPartJoin, SqmCorrelatedRoot, SqmCorrelatedRootJoin, SqmCorrelatedSetJoin, SqmCorrelatedSingularJoin, SqmCrossJoin, SqmCteJoin, SqmCteRoot, SqmDerivedJoin, SqmDerivedRoot, SqmEntityJoin, SqmFunctionJoin, SqmFunctionRoot, SqmListJoin, SqmMapJoin, SqmPluralPartJoin, SqmRoot, SqmSetJoin, SqmSingularJoin, SqmTreatedBagJoin, SqmTreatedCrossJoin, SqmTreatedEntityJoin, SqmTreatedListJoin, SqmTreatedMapJoin, SqmTreatedPluralPartJoin, SqmTreatedRoot, SqmTreatedSetJoin, SqmTreatedSingularJoin
API extension to the JPA
From contract-
Method Summary
Modifier and TypeMethodDescription<X> JpaCrossJoin<T, X> <X> JpaCrossJoin<T, X> crossJoin(EntityDomainType<X> entity) id()<X> JpaDerivedJoin<X> <X> JpaDerivedJoin<X> <X> JpaDerivedJoin<X> <Y> JpaCollectionJoin<T, Y> join(CollectionAttribute<? super T, Y> collection) <Y> JpaCollectionJoin<T, Y> join(CollectionAttribute<? super T, Y> collection, JoinType jt) join(EntityType<Y> entity) join(EntityType<Y> entity, JoinType joinType) <Y> JpaListJoin<T, Y> join(ListAttribute<? super T, Y> list) <Y> JpaListJoin<T, Y> join(ListAttribute<? super T, Y> list, JoinType jt) <K,V> JpaMapJoin <T, K, V> join(MapAttribute<? super T, K, V> map) <K,V> JpaMapJoin <T, K, V> join(MapAttribute<? super T, K, V> map, JoinType jt) <Y> JpaSetJoin<T, Y> join(SetAttribute<? super T, Y> set) <Y> JpaSetJoin<T, Y> join(SetAttribute<? super T, Y> set, JoinType jt) join(SingularAttribute<? super T, Y> attribute) join(SingularAttribute<? super T, Y> attribute, JoinType jt) <X> JpaEntityJoin<T, X> <Y> JpaEntityJoin<T, Y> <Y> JpaEntityJoin<T, Y> <X> JpaEntityJoin<T, X> join(EntityDomainType<X> entity) <X> JpaEntityJoin<T, X> join(EntityDomainType<X> entity, JoinType joinType) <X> JpaJoin<?, X> join(JpaCteCriteria<X> cte) <X> JpaJoin<?, X> join(JpaCteCriteria<X> cte, JoinType joinType) <X> JpaFunctionJoin<X> join(JpaSetReturningFunction<X> function) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withSqmJoinType.INNER.<X> JpaFunctionJoin<X> join(JpaSetReturningFunction<X> function, SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType, boolean)passingfalsefor thelateralparameter.<X> JpaFunctionJoin<X> join(JpaSetReturningFunction<X> function, SqmJoinType joinType, boolean lateral) Creates and returns a join node for the given set returning function.<X> JpaFunctionJoin<X> joinArray(SingularAttribute<? super T, X[]> arrayAttribute) Like calling the overloadjoinArray(SingularAttribute, SqmJoinType)withSqmJoinType.INNER.<X> JpaFunctionJoin<X> joinArray(SingularAttribute<? super T, X[]> arrayAttribute, SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestArray(Expression)with the given attribute.<X> JpaFunctionJoin<X> Like calling the overloadjoinArray(String, SqmJoinType)withSqmJoinType.INNER.<X> JpaFunctionJoin<X> joinArray(String arrayAttributeName, SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestArray(Expression)with the result ofJpaPath.get(String)passing the given attribute name.<X> JpaFunctionJoin<X> joinArrayCollection(SingularAttribute<? super T, ? extends Collection<X>> collectionAttribute) Like calling the overloadjoinArrayCollection(SingularAttribute, SqmJoinType)withSqmJoinType.INNER.<X> JpaFunctionJoin<X> joinArrayCollection(SingularAttribute<? super T, ? extends Collection<X>> collectionAttribute, SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestCollection(Expression)with the given attribute.<X> JpaFunctionJoin<X> joinArrayCollection(String collectionAttributeName) Like calling the overloadjoinArrayCollection(String, SqmJoinType)withSqmJoinType.INNER.<X> JpaFunctionJoin<X> joinArrayCollection(String collectionAttributeName, SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestCollection(Expression)with the result ofJpaPath.get(String)passing the given attribute name.<Y> JpaCollectionJoin<T, Y> joinCollection(String attributeName) <Y> JpaCollectionJoin<T, Y> joinCollection(String attributeName, JoinType jt) <X> JpaDerivedJoin<X> joinLateral(Subquery<X> subquery) <X> JpaDerivedJoin<X> joinLateral(Subquery<X> subquery, JoinType joinType) <X> JpaFunctionJoin<X> joinLateral(JpaSetReturningFunction<X> function) Like calling the overloadjoinLateral(JpaSetReturningFunction, SqmJoinType)withSqmJoinType.INNER.<X> JpaFunctionJoin<X> joinLateral(JpaSetReturningFunction<X> function, SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType, boolean)passingtruefor thelateralparameter.<Y> JpaListJoin<T, Y> <Y> JpaListJoin<T, Y> <K,V> JpaMapJoin <T, K, V> <K,V> JpaMapJoin <T, K, V> <Y> JpaSetJoin<T, Y> <Y> JpaSetJoin<T, Y> <S extends T>
JpaTreatedFrom<O, T, S> Support for JPA's explicit (TREAT) down-casting.<S extends T>
JpaTreatedFrom<O, T, S> treatAs(EntityDomainType<S> treatJavaType) Support for JPA's explicit (TREAT) down-casting.Methods inherited from interface From
getJoinList, getJoins, isCorrelatedMethods 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 JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface JpaPath
get, get, get, get, getLhs, getNavigablePath, getParentPath, typeMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeDescriptor, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface TupleElement
getAlias
-
Method Details
-
getCorrelationParent
-
join
-
join
-
join
-
join
-
join
-
join
-
join
@Nonnull <X> JpaEntityJoin<T,X> join(@Nonnull EntityDomainType<X> entity, @Nonnull JoinType joinType) -
join
-
join
-
joinLateral
-
joinLateral
-
join
-
join
Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withSqmJoinType.INNER.- Since:
- 7.0
- See Also:
-
join
@Incubating @Nonnull <X> JpaFunctionJoin<X> join(@Nonnull JpaSetReturningFunction<X> function, @Nonnull SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType, boolean)passingfalsefor thelateralparameter.- Since:
- 7.0
- See Also:
-
joinLateral
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinLateral(@Nonnull JpaSetReturningFunction<X> function) Like calling the overloadjoinLateral(JpaSetReturningFunction, SqmJoinType)withSqmJoinType.INNER.- Since:
- 7.0
- See Also:
-
joinLateral
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinLateral(@Nonnull JpaSetReturningFunction<X> function, @Nonnull SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType, boolean)passingtruefor thelateralparameter.- Since:
- 7.0
- See Also:
-
join
@Incubating @Nonnull <X> JpaFunctionJoin<X> join(@Nonnull JpaSetReturningFunction<X> function, @Nonnull SqmJoinType joinType, boolean lateral) Creates and returns a join node for the given set returning function. If function arguments refer to correlated paths, thelateralargument must be set totrue. Failing to do so when necessary may lead to an error during query compilation or execution.- Since:
- 7.0
-
joinArray
Like calling the overloadjoinArray(String, SqmJoinType)withSqmJoinType.INNER.- Since:
- 7.0
- See Also:
-
joinArray
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArray(@Nonnull String arrayAttributeName, @Nonnull SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestArray(Expression)with the result ofJpaPath.get(String)passing the given attribute name.- Since:
- 7.0
- See Also:
-
joinArray
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArray(@Nonnull SingularAttribute<? super T, X[]> arrayAttribute) Like calling the overloadjoinArray(SingularAttribute, SqmJoinType)withSqmJoinType.INNER.- Since:
- 7.0
- See Also:
-
joinArray
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArray(@Nonnull SingularAttribute<? super T, X[]> arrayAttribute, @Nonnull SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestArray(Expression)with the given attribute.- Since:
- 7.0
- See Also:
-
joinArrayCollection
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArrayCollection(@Nonnull String collectionAttributeName) Like calling the overloadjoinArrayCollection(String, SqmJoinType)withSqmJoinType.INNER.- Since:
- 7.0
- See Also:
-
joinArrayCollection
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArrayCollection(@Nonnull String collectionAttributeName, @Nonnull SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestCollection(Expression)with the result ofJpaPath.get(String)passing the given attribute name.- Since:
- 7.0
- See Also:
-
joinArrayCollection
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArrayCollection(@Nonnull SingularAttribute<? super T, ? extends Collection<X>> collectionAttribute) Like calling the overloadjoinArrayCollection(SingularAttribute, SqmJoinType)withSqmJoinType.INNER.- Since:
- 7.0
- See Also:
-
joinArrayCollection
@Incubating @Nonnull <X> JpaFunctionJoin<X> joinArrayCollection(@Nonnull SingularAttribute<? super T, ? extends Collection<X>> collectionAttribute, @Nonnull SqmJoinType joinType) Like calling the overloadjoin(JpaSetReturningFunction, SqmJoinType)withHibernateCriteriaBuilder.unnestCollection(Expression)with the given attribute.- Since:
- 7.0
- See Also:
-
join
-
join
-
crossJoin
-
crossJoin
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
joinCollection
- Specified by:
joinCollectionin interfaceFrom<O,T>
-
joinSet
-
joinList
-
joinMap
-
join
-
joinCollection
-
joinSet
-
joinList
-
joinMap
-
treatAs
-
treat
-
treatAs
-
id
-