Interface JpaDerivedJoin<T>
- All Superinterfaces:
Expression<T>, FetchParent<T,T>, From<T, T>, Join<T, T>, JpaCriteriaNode, JpaDerivedFrom<T>, JpaExpression<T>, JpaFetchParent<T, T>, JpaFrom<T, T>, JpaJoin<T, T>, JpaPath<T>, JpaSelection<T>, JpaTupleElement<T>, Path<T>, Selection<T>, Serializable, TupleElement<T>
- All Known Implementing Classes:
SqmCorrelatedDerivedJoin, SqmDerivedJoin
Represents a derived join, that is, a subquery that occurs as the
target of a join in the
from clause of the query.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies whether the subquery part can access previous from node aliases.on(BooleanExpression... restrictions) Set the join restriction.on(Expression<Boolean> restriction) Set the join restriction.on(List<? extends Expression<Boolean>> restrictions) Set the join restriction.on(JpaExpression<Boolean> restriction) Set the join restriction.on(JpaPredicate... restrictions) Set the join restriction.Methods inherited from interface From
getJoinList, getJoins, isCorrelatedMethods inherited from interface Join
getJoinType, getOn, getParentMethods inherited from interface JpaDerivedFrom
getQueryPartMethods 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 JpaFrom
crossJoin, crossJoin, getCorrelationParent, id, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinCollection, joinCollection, joinLateral, joinLateral, joinLateral, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSetMethods inherited from interface JpaJoin
getAttribute, treat, treatAs, treatAsMethods 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, getJavaTypeIfKnown, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface TupleElement
getAlias
-
Method Details
-
isLateral
boolean isLateral()Specifies whether the subquery part can access previous from node aliases. Normally, subqueries in the from clause are unable to access other from nodes, but when specifying them as lateral, they are allowed to do so. Refer to the SQL standard definition of LATERAL for more details. -
on
Set the join restriction. -
on
-
on
Set the join restriction. -
on
-
on
-