Class SqmTreatedBagJoin<L,R,S extends R>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<S>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<S>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<S>
org.hibernate.query.sqm.tree.domain.AbstractSqmPath<S>
org.hibernate.query.sqm.tree.domain.AbstractSqmFrom<L,S>
org.hibernate.query.sqm.tree.domain.AbstractSqmJoin<L,S>
org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin<L,S>
org.hibernate.query.sqm.tree.domain.AbstractSqmPluralJoin<L,Collection<S>,S>
org.hibernate.query.sqm.tree.domain.SqmBagJoin<L,S>
org.hibernate.query.sqm.tree.domain.SqmTreatedBagJoin<L,R,S>
- All Implemented Interfaces:
CollectionJoin<L,,S> Expression<S>,Fetch<L,,S> FetchParent<L,,S> From<L,,S> Join<L,,S> Path<S>,PluralJoin<L,,Collection<S>, S> Selection<S>,TupleElement<S>,Serializable,JpaCollectionJoin<L,,S> JpaCriteriaNode,JpaExpression<S>,JpaFetch<L,,S> JpaFetchParent<L,,S> JpaFrom<L,,S> JpaJoin<L,,S> JpaPath<S>,JpaPluralJoin<L,,Collection<S>, S> JpaSelection<S>,JpaTreatedFrom<L,,R, S> JpaTreatedJoin<L,,R, S> JpaTreatedPath<R,,S> JpaTupleElement<S>,SemanticPathPart,SqmPath<S>,SqmPathWrapper<R,,S> SqmTreatedFrom<L,,R, S> SqmTreatedJoin<L,,R, S> SqmTreatedPath<R,,S> SqmExpression<S>,SqmAttributeJoin<L,,S> SqmFrom<L,,S> SqmJoin<L,,S> SqmTreatedAttributeJoin<L,,R, S> SqmSelectableNode<S>,SqmExpressibleAccessor<S>,SqmNode,SqmTypedNode<S>,SqmVisitableNode
public class SqmTreatedBagJoin<L,R,S extends R>
extends SqmBagJoin<L,S>
implements SqmTreatedAttributeJoin<L,R,S>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmTreatedBagJoin(SqmBagJoin<L, R> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias) SqmTreatedBagJoin(SqmBagJoin<L, R> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias, boolean fetched) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) booleanThis 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.inthashCode()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, treatAsMethods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
alias, clearFetched, getJoinType, getLhs, getNodeJavaType, getParent, isFetched, isImplicitJoinMethods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmJoin
applyRestriction, copyTo, getJoinPredicate, getOn, getSqmJoinType, join, join, setJoinPredicateMethods 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, getNumberOfJoins, getParentPath, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, id, 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, visitSqmJoinsMethods 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, visitReusablePathsMethods 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, notEqualToMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
getSelectionItems, isCompoundSelectionMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.criteria.Fetch
getAttribute, getJoinType, getParentMethods inherited from interface jakarta.persistence.criteria.From
getJoins, isCorrelatedMethods inherited from interface jakarta.persistence.criteria.Join
getJoinType, getParentMethods inherited from interface org.hibernate.query.criteria.JpaFetch
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface org.hibernate.query.criteria.JpaFrom
id, join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinLateral, joinLateral, joinLateralMethods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPathMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods inherited from interface org.hibernate.query.sqm.tree.from.SqmAttributeJoin
clearFetched, getJavaTypeDescriptor, getJoinPredicate, getLhs, isFetched, isImplicitJoin, isImplicitlySelectable, setJoinPredicate, treatAs, treatAsMethods 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, visitSubSelectableNodesMethods inherited from interface org.hibernate.query.sqm.tree.from.SqmFrom
addSqmJoin, getCorrelationParent, getNumberOfJoins, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, hasTreats, join, join, resolveAlias, visitSqmJoinsMethods 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, joinSetMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePathsMethods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.tree.from.SqmTreatedAttributeJoin
treatAs, treatAs, treatAs, treatAsMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmTreatedFrom
treatAs, treatAsMethods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<L, R> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias) -
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<L, R> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<L>- Specified by:
copyin interfaceSqmFrom<L,R> - Specified by:
copyin interfaceSqmJoin<L,R> - Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<L>- Specified by:
copyin interfaceSqmSelectableNode<L>- Specified by:
copyin interfaceSqmTreatedAttributeJoin<L,R, S extends R> - Specified by:
copyin interfaceSqmTreatedFrom<L,R, S extends R> - Specified by:
copyin interfaceSqmTypedNode<L>- Overrides:
copyin classSqmBagJoin<L,S extends R>
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<L,R> - Specified by:
getWrappedPathin interfaceSqmTreatedPath<L,R>
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath<L,R> - Specified by:
getTreatTargetin interfaceSqmTreatedPath<L,R>
-
getNodeType
Description copied from interface:SqmPathThis node's type is its "referenced path source"- Specified by:
getNodeTypein interfaceSqmExpression<L>- Specified by:
getNodeTypein interfaceSqmPath<L>- Specified by:
getNodeTypein interfaceSqmTypedNode<L>- Overrides:
getNodeTypein classAbstractSqmPath<S extends R>
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmAttributeJoin<L,R> - Specified by:
getReferencedPathSourcein interfaceSqmFrom<L,R> - Specified by:
getReferencedPathSourcein interfaceSqmPath<L>- Overrides:
getReferencedPathSourcein classAbstractSqmPath<S extends R>- Returns:
- See Also:
-
getResolvedModel
Description copied from interface:SqmPathGet this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModelin interfaceSqmPath<L>- Overrides:
getResolvedModelin classAbstractSqmPath<S extends R>
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom<L,S extends R>
-
equals
- Overrides:
equalsin classAbstractSqmAttributeJoin<L,S extends R>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSqmAttributeJoin<L,S extends R>
-
on
Description copied from interface:JpaFetchAdd a restriction to the fetch.- Specified by:
onin interfaceJpaCollectionJoin<L,R> - Specified by:
onin interfaceJpaFetch<L,R> - Specified by:
onin interfaceJpaJoin<L,R> - Specified by:
onin interfaceJpaPluralJoin<L,R, S extends R> - Specified by:
onin interfaceSqmAttributeJoin<L,R> - Specified by:
onin interfaceSqmJoin<L,R> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,R, S extends R> - Overrides:
onin classSqmBagJoin<L,S extends R>
-
on
- Specified by:
onin interfaceCollectionJoin<L,R> - Specified by:
onin interfaceJoin<L,R> - Specified by:
onin interfaceJpaCollectionJoin<L,R> - Specified by:
onin interfaceJpaJoin<L,R> - Specified by:
onin interfaceJpaPluralJoin<L,R, S extends R> - Specified by:
onin interfaceSqmAttributeJoin<L,R> - Specified by:
onin interfaceSqmJoin<L,R> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,R, S extends R> - Overrides:
onin classSqmBagJoin<L,S extends R>
-
on
Description copied from interface:JpaFetchAdd a restriction to the fetch.- Specified by:
onin interfaceJpaCollectionJoin<L,R> - Specified by:
onin interfaceJpaFetch<L,R> - Specified by:
onin interfaceJpaJoin<L,R> - Specified by:
onin interfaceJpaPluralJoin<L,R, S extends R> - Specified by:
onin interfaceSqmAttributeJoin<L,R> - Specified by:
onin interfaceSqmJoin<L,R> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,R, S extends R> - Overrides:
onin classSqmBagJoin<L,S extends R>
-
on
- Specified by:
onin interfaceCollectionJoin<L,R> - Specified by:
onin interfaceJoin<L,R> - Specified by:
onin interfaceJpaCollectionJoin<L,R> - Specified by:
onin interfaceJpaJoin<L,R> - Specified by:
onin interfaceJpaPluralJoin<L,R, S extends R> - Specified by:
onin interfaceSqmAttributeJoin<L,R> - Specified by:
onin interfaceSqmJoin<L,R> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,R, S extends R> - Overrides:
onin classSqmBagJoin<L,S extends R>
-