Interface SqmJoin<L,R>
- All Superinterfaces:
Expression<R>
,FetchParent<L,
,R> From<L,
,R> Join<L,
,R> JpaCriteriaNode
,JpaExpression<R>
,JpaFetchParent<L,
,R> JpaFrom<L,
,R> JpaJoin<L,
,R> JpaPath<R>
,JpaSelection<R>
,JpaTupleElement<R>
,Path<R>
,Selection<R>
,SemanticPathPart
,Serializable
,SqmExpressibleAccessor<R>
,SqmExpression<R>
,SqmFrom<L,
,R> SqmNode
,SqmPath<R>
,SqmSelectableNode<R>
,SqmTypedNode<R>
,SqmVisitableNode
,TupleElement<R>
- All Known Subinterfaces:
SqmAttributeJoin<O,
,T> SqmCorrelatedJoin<L,
,R> SqmCorrelatedSingularValuedJoin<L,
,R> SqmSingularValuedJoin<L,
,R> SqmTreatedAttributeJoin<L,
R, R1>
- All Known Implementing Classes:
AbstractSqmAttributeJoin
,AbstractSqmJoin
,AbstractSqmPluralJoin
,SqmBagJoin
,SqmCorrelatedBagJoin
,SqmCorrelatedCrossJoin
,SqmCorrelatedEntityJoin
,SqmCorrelatedListJoin
,SqmCorrelatedMapJoin
,SqmCorrelatedPluralPartJoin
,SqmCorrelatedSetJoin
,SqmCorrelatedSingularJoin
,SqmCrossJoin
,SqmCteJoin
,SqmDerivedJoin
,SqmEntityJoin
,SqmFunctionJoin
,SqmListJoin
,SqmMapJoin
,SqmPluralPartJoin
,SqmSetJoin
,SqmSingularJoin
,SqmTreatedBagJoin
,SqmTreatedCrossJoin
,SqmTreatedEntityJoin
,SqmTreatedListJoin
,SqmTreatedMapJoin
,SqmTreatedPluralPartJoin
,SqmTreatedSetJoin
,SqmTreatedSingularJoin
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy
(SqmCopyContext context) <X> JpaCrossJoin<X>
<X> JpaCrossJoin<X>
crossJoin
(EntityDomainType<X> entity) Obtain the join predicatedefault SqmPredicate
getOn()
The type of join - inner, cross, etcboolean
When applicable, whether this join should be included in an implicit select clause<X> JpaDerivedJoin<X>
<X> JpaDerivedJoin<X>
join
(Subquery<X> subquery, SqmJoinType joinType) <X> JpaDerivedJoin<X>
join
(Subquery<X> subquery, SqmJoinType joinType, boolean lateral) <E> SqmBagJoin<R,
E> join
(CollectionAttribute<? super R, E> attribute) <E> SqmBagJoin<R,
E> join
(CollectionAttribute<? super R, E> attribute, JoinType jt) join
(EntityType<Y> entity) join
(EntityType<Y> entity, JoinType joinType) <E> SqmListJoin<R,
E> join
(ListAttribute<? super R, E> list) <E> SqmListJoin<R,
E> join
(ListAttribute<? super R, E> list, JoinType jt) <K,
V> SqmMapJoin<R, K, V> join
(MapAttribute<? super R, K, V> map) <K,
V> SqmMapJoin<R, K, V> join
(MapAttribute<? super R, K, V> map, JoinType jt) <E> SqmSetJoin<R,
E> join
(SetAttribute<? super R, E> set) <E> SqmSetJoin<R,
E> join
(SetAttribute<? super R, E> set, JoinType jt) <A> SqmSingularJoin<R,
A> join
(SingularAttribute<? super R, A> attribute) <A> SqmSingularJoin<R,
A> join
(SingularAttribute<? super R, A> attribute, JoinType jt) default <X> JpaEntityJoin<R,
X> join
(Class<X> entityJavaType, SqmJoinType joinType) <X,
Y> SqmAttributeJoin<X, Y> <X,
Y> SqmAttributeJoin<X, Y> <X> JpaEntityJoin<R,
X> join
(EntityDomainType<X> entity) <X> JpaEntityJoin<R,
X> join
(EntityDomainType<X> entity, SqmJoinType joinType) <X> JpaJoin<?,
X> join
(JpaCteCriteria<X> cte) <X> JpaJoin<?,
X> join
(JpaCteCriteria<X> cte, SqmJoinType joinType) <X,
Y> SqmBagJoin<X, Y> joinCollection
(String attributeName) <X,
Y> SqmBagJoin<X, Y> joinCollection
(String attributeName, JoinType jt) <X> JpaDerivedJoin<X>
joinLateral
(Subquery<X> subquery) <X> JpaDerivedJoin<X>
joinLateral
(Subquery<X> subquery, SqmJoinType joinType) <X,
Y> SqmListJoin<X, Y> <X,
Y> SqmListJoin<X, Y> <X,
K, V> SqmMapJoin<X, K, V> <X,
K, V> SqmMapJoin<X, K, V> <X,
Y> SqmSetJoin<X, Y> <X,
Y> SqmSetJoin<X, Y> on
(Expression<Boolean> restriction) on
(JpaExpression<Boolean> restriction) on
(JpaPredicate... restrictions) void
setJoinPredicate
(SqmPredicate predicate) Inject the join predicate<S extends R>
SqmTreatedJoin<L,R, S> Support for JPA's explicit (TREAT) down-casting.<S extends R>
SqmTreatedJoin<L,R, S> <S extends R>
SqmTreatedJoin<L,R, S> treatAs
(EntityDomainType<S> treatAsType) Support for JPA's explicit (TREAT) down-casting.<S extends R>
SqmTreatedJoin<L,R, S> treatAs
(EntityDomainType<S> treatTarget, String alias) Methods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelated
Methods inherited from interface jakarta.persistence.criteria.Join
getJoinType, getParent
Methods inherited from interface org.hibernate.query.criteria.JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
Methods inherited from interface org.hibernate.query.criteria.JpaFrom
join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinLateral, joinLateral, joinLateral
Methods inherited from interface org.hibernate.query.criteria.JpaJoin
getAttribute
Methods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPath
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnum
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo, visitSubSelectableNodes
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmFrom
addSqmJoin, getCorrelationParent, getReferencedPathSource, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, hasTreats, join, join, visitSqmJoins
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getNodeType, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, setExplicitAlias, treatAs, treatAs, type, visitReusablePaths
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, appendHqlString, toHqlString
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Method Details
-
getSqmJoinType
SqmJoinType getSqmJoinType()The type of join - inner, cross, etc -
isImplicitlySelectable
boolean isImplicitlySelectable()When applicable, whether this join should be included in an implicit select clause -
getJoinPredicate
SqmPredicate getJoinPredicate()Obtain the join predicate- Returns:
- The join predicate
-
setJoinPredicate
Inject the join predicate- Parameters:
predicate
- The join predicate
-
join
-
join
-
copy
-
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting. -
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting. -
treatAs
-
treatAs
-
getOn
-
on
-
on
-
on
-
on
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
joinLateral
- Specified by:
joinLateral
in interfaceJpaFrom<L,
R>
-
joinLateral
- Specified by:
joinLateral
in interfaceJpaFrom<L,
R>
-
join
-
join
-
join
-
crossJoin
-
crossJoin
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
join
-
joinCollection
- Specified by:
joinCollection
in interfaceFrom<L,
R> - Specified by:
joinCollection
in interfaceJpaFrom<L,
R> - Specified by:
joinCollection
in interfaceSqmFrom<L,
R>
-
joinCollection
- Specified by:
joinCollection
in interfaceFrom<L,
R> - Specified by:
joinCollection
in interfaceJpaFrom<L,
R> - Specified by:
joinCollection
in interfaceSqmFrom<L,
R>
-
joinSet
-
joinSet
-
joinList
-
joinList
-
joinMap
-
joinMap
-