Class SqmTreatedBagJoin<L,R,R1 extends R>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<T>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<T>
org.hibernate.query.sqm.tree.domain.AbstractSqmPath<T>
org.hibernate.query.sqm.tree.domain.AbstractSqmFrom<L,R>
org.hibernate.query.sqm.tree.domain.AbstractSqmJoin<L,R>
org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin<L,E>
org.hibernate.query.sqm.tree.domain.AbstractSqmPluralJoin<O,Collection<E>,E>
org.hibernate.query.sqm.tree.domain.SqmBagJoin<L,R1>
org.hibernate.query.sqm.tree.domain.SqmTreatedBagJoin<L,R,R1>
- All Implemented Interfaces:
CollectionJoin<L,
,R1> Expression<R1>
,Fetch<L,
,R1> FetchParent<L,
,R1> From<L,
,R1> Join<L,
,R1> Path<R1>
,PluralJoin<L,
,Collection<R1>, R1> Selection<R1>
,TupleElement<R1>
,Serializable
,JpaCollectionJoin<L,
,R1> JpaCriteriaNode
,JpaExpression<R1>
,JpaFetch<L,
,R1> JpaFetchParent<L,
,R1> JpaFrom<L,
,R1> JpaJoin<L,
,R1> JpaPath<R1>
,JpaPluralJoin<L,
,Collection<R1>, R1> JpaSelection<R1>
,JpaTreatedFrom<L,
,R, R1> JpaTreatedJoin<L,
,R, R1> JpaTreatedPath<R,
,R1> JpaTupleElement<R1>
,SemanticPathPart
,SqmPath<R1>
,SqmPathWrapper<R,
,R1> SqmTreatedFrom<L,
,R, R1> SqmTreatedJoin<L,
,R, R1> SqmTreatedPath<R,
,R1> SqmExpression<R1>
,SqmAttributeJoin<L,
,R1> SqmFrom<L,
,R1> SqmJoin<L,
,R1> SqmTreatedAttributeJoin<L,
,R, R1> SqmSelectableNode<R1>
,SqmExpressibleAccessor<R1>
,SqmNode
,SqmTypedNode<R1>
,SqmVisitableNode
public class SqmTreatedBagJoin<L,R,R1 extends R>
extends SqmBagJoin<L,R1>
implements SqmTreatedAttributeJoin<L,R,R1>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmTreatedBagJoin
(SqmBagJoin<L, R> wrappedPath, TreatableDomainType<R1> treatTarget, String alias) SqmTreatedBagJoin
(SqmBagJoin<L, R> wrappedPath, TreatableDomainType<R1> treatTarget, String alias, boolean fetched) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(SqmCopyContext context) This node's type is its "referenced path source"The path source that this path refers to (and that most likely created it).Get this path's actual resolved model, i.e.SqmBagJoin<L,
R> Access the wrapped SqmPath.on
(Expression<Boolean> restriction) on
(JpaExpression<Boolean> restriction) Add a restriction to the fetch.on
(JpaPredicate... restrictions) Add a restriction to the fetch.Methods inherited from class org.hibernate.query.sqm.tree.domain.SqmBagJoin
accept, createCorrelation, getAttribute, getModel, treatAs, treatAs, treatAs, treatAs, treatAs, treatAs
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
alias, clearFetched, getJoinType, getLhs, getNodeJavaType, getParent, isFetched, isImplicitJoin
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmJoin
applyRestriction, copyTo, getJoinPredicate, getOn, getSqmJoinType, join, join, setJoinPredicate
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmFrom
addSqmJoin, addTreat, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, isCorrelated, 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, joinSet, removeLeftFetchJoins, resolvePathPart, setExplicitAlias, visitSqmJoins
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, get, getExpressible, getNavigablePath, getNavigablePathCopy, getReusablePath, getReusablePaths, getTreatedPath, registerReusablePath, resolvePath, resolvePath, toString, type, visitReusablePaths
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
getSelectionItems, isCompoundSelection
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.persistence.criteria.Fetch
getAttribute, getJoinType, getParent
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.JpaFetch
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.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.from.SqmAttributeJoin
clearFetched, getJavaTypeDescriptor, getJoinPredicate, getLhs, isFetched, isImplicitJoin, isImplicitlySelectable, setJoinPredicate, treatAs, treatAs
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, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, hasTreats, join, join, visitSqmJoins
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmJoin
crossJoin, crossJoin, getOn, getSqmJoinType, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinLateral, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSet
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, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePaths
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmTreatedAttributeJoin
treatAs, treatAs, treatAs, treatAs
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmTreatedFrom
treatAs, treatAs
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, toHqlString
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<L, R> wrappedPath, TreatableDomainType<R1> treatTarget, String alias) -
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<L, R> wrappedPath, TreatableDomainType<R1> treatTarget, String alias, boolean fetched)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmExpression<L>
- Specified by:
copy
in interfaceSqmFrom<L,
R> - Specified by:
copy
in interfaceSqmJoin<L,
R> - Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmPath<L>
- Specified by:
copy
in interfaceSqmSelectableNode<L>
- Specified by:
copy
in interfaceSqmTreatedAttributeJoin<L,
R, R1 extends R> - Specified by:
copy
in interfaceSqmTreatedFrom<L,
R, R1 extends R> - Specified by:
copy
in interfaceSqmTypedNode<L>
- Overrides:
copy
in classSqmBagJoin<L,
R1 extends R>
-
getWrappedPath
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<L,
R> - Specified by:
getWrappedPath
in interfaceSqmTreatedPath<L,
R>
-
getTreatTarget
- Specified by:
getTreatTarget
in interfaceJpaTreatedPath<L,
R> - Specified by:
getTreatTarget
in interfaceSqmTreatedPath<L,
R>
-
getNodeType
Description copied from interface:SqmPath
This node's type is its "referenced path source"- Specified by:
getNodeType
in interfaceSqmExpression<L>
- Specified by:
getNodeType
in interfaceSqmPath<L>
- Specified by:
getNodeType
in interfaceSqmTypedNode<L>
- Overrides:
getNodeType
in classAbstractSqmPath<R1 extends R>
-
getReferencedPathSource
Description copied from interface:SqmPath
The path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSource
in interfaceSqmAttributeJoin<L,
R> - Specified by:
getReferencedPathSource
in interfaceSqmFrom<L,
R> - Specified by:
getReferencedPathSource
in interfaceSqmPath<L>
- Overrides:
getReferencedPathSource
in classAbstractSqmPath<R1 extends R>
- See Also:
-
getResolvedModel
Description copied from interface:SqmPath
Get this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModel
in interfaceSqmPath<L>
- Overrides:
getResolvedModel
in classAbstractSqmPath<R1 extends R>
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmFrom<L,
R1 extends R>
-
on
Description copied from interface:JpaFetch
Add a restriction to the fetch.- Specified by:
on
in interfaceJpaCollectionJoin<L,
R> - Specified by:
on
in interfaceJpaFetch<L,
R> - Specified by:
on
in interfaceJpaJoin<L,
R> - Specified by:
on
in interfaceJpaPluralJoin<L,
R, R1 extends R> - Specified by:
on
in interfaceSqmAttributeJoin<L,
R> - Specified by:
on
in interfaceSqmJoin<L,
R> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
R, R1 extends R> - Overrides:
on
in classSqmBagJoin<L,
R1 extends R>
-
on
- Specified by:
on
in interfaceCollectionJoin<L,
R> - Specified by:
on
in interfaceJoin<L,
R> - Specified by:
on
in interfaceJpaCollectionJoin<L,
R> - Specified by:
on
in interfaceJpaJoin<L,
R> - Specified by:
on
in interfaceJpaPluralJoin<L,
R, R1 extends R> - Specified by:
on
in interfaceSqmAttributeJoin<L,
R> - Specified by:
on
in interfaceSqmJoin<L,
R> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
R, R1 extends R> - Overrides:
on
in classSqmBagJoin<L,
R1 extends R>
-
on
Description copied from interface:JpaFetch
Add a restriction to the fetch.- Specified by:
on
in interfaceJpaCollectionJoin<L,
R> - Specified by:
on
in interfaceJpaFetch<L,
R> - Specified by:
on
in interfaceJpaJoin<L,
R> - Specified by:
on
in interfaceJpaPluralJoin<L,
R, R1 extends R> - Specified by:
on
in interfaceSqmAttributeJoin<L,
R> - Specified by:
on
in interfaceSqmJoin<L,
R> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
R, R1 extends R> - Overrides:
on
in classSqmBagJoin<L,
R1 extends R>
-
on
- Specified by:
on
in interfaceCollectionJoin<L,
R> - Specified by:
on
in interfaceJoin<L,
R> - Specified by:
on
in interfaceJpaCollectionJoin<L,
R> - Specified by:
on
in interfaceJpaJoin<L,
R> - Specified by:
on
in interfaceJpaPluralJoin<L,
R, R1 extends R> - Specified by:
on
in interfaceSqmAttributeJoin<L,
R> - Specified by:
on
in interfaceSqmJoin<L,
R> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
R, R1 extends R> - Overrides:
on
in classSqmBagJoin<L,
R1 extends R>
-