Class SqmTreatedBagJoin<O,T,S extends T>
- 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<O,T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmJoin<O,T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmQualifiedJoin<O,T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin<O,E>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmPluralJoin<O,Collection<E>,E>
-
- org.hibernate.query.sqm.tree.domain.SqmBagJoin<O,S>
-
- org.hibernate.query.sqm.tree.domain.SqmTreatedBagJoin<O,T,S>
-
- All Implemented Interfaces:
CollectionJoin<O,S>,Expression<S>,Fetch<O,S>,FetchParent<O,S>,From<O,S>,Join<O,S>,Path<S>,PluralJoin<O,Collection<S>,S>,Selection<S>,TupleElement<S>,Serializable,JpaCollectionJoin<O,S>,JpaCriteriaNode,JpaExpression<S>,JpaFetch<O,S>,JpaFetchParent<O,S>,JpaFrom<O,S>,JpaJoin<O,S>,JpaJoinedFrom<O,S>,JpaPath<S>,JpaPluralJoin<O,Collection<S>,S>,JpaSelection<S>,JpaTupleElement<S>,SemanticPathPart,SqmPath<S>,SqmPathWrapper<T,S>,SqmTreatedPath<T,S>,SqmExpression<S>,SqmAttributeJoin<O,S>,SqmFrom<O,S>,SqmJoin<O,S>,SqmQualifiedJoin<O,S>,SqmSelectableNode<S>,SqmExpressibleAccessor<S>,SqmNode,SqmTypedNode<S>,SqmVisitableNode
public class SqmTreatedBagJoin<O,T,S extends T> extends SqmBagJoin<O,S> implements SqmTreatedPath<T,S>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmTreatedBagJoin(SqmBagJoin<O,T> wrappedPath, EntityDomainType<S> treatTarget, String alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendHqlString(StringBuilder sb)SqmTreatedBagJoin<O,T,S>copy(SqmCopyContext context)SqmPathSource<S>getNodeType()This node's type is its "referenced path source"EntityDomainType<S>getReferencedPathSource()The path source that this path refers to (and that most likely created it).SqmPathSource<?>getResolvedModel()Get this path's actual resolved model, i.e.EntityDomainType<S>getTreatTarget()SqmBagJoin<O,T>getWrappedPath()Access the wrapped SqmPath.SqmAttributeJoin<O,S>makeCopy(SqmCreationProcessingState creationProcessingState)-
Methods inherited from class org.hibernate.query.sqm.tree.domain.SqmBagJoin
accept, createCorrelation, getAttribute, getModel, on, on, on, on, treatAs, treatAs, treatAs, treatAs
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
getJoinType, getLhs, getNodeJavaType, getParent, isFetched
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmQualifiedJoin
applyRestriction, copyTo, getJoinPredicate, getOn, setJoinPredicate
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmJoin
getSqmJoinType
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmFrom
addSqmJoin, addTreat, alias, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, hasJoins, hasTreats, isCorrelated, join, 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, resolvePathPart, setExplicitAlias, visitSqmJoins
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, 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, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder
-
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.From
getJoins, isCorrelated
-
Methods inherited from interface jakarta.persistence.criteria.Join
getJoinType, getOn, 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
crossJoin, crossJoin, join, join, join, join, join, join, join, join, join, joinLateral, joinLateral
-
Methods inherited from interface org.hibernate.query.criteria.JpaJoinedFrom
getOn
-
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
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmAttributeJoin
getJavaTypeDescriptor, getJoinPredicate, setJoinPredicate
-
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, castAs, in, in, in, in, isNotNull, isNull, visitSubSelectableNodes
-
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmFrom
addSqmJoin, getCorrelationParent, getSqmJoins, getSqmTreats, hasJoins, hasTreats, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, visitSqmJoins
-
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmJoin
getSqmJoinType, join, join
-
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, getExplicitAlias, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePaths
-
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 Detail
-
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<O,T> wrappedPath, EntityDomainType<S> treatTarget, String alias)
-
-
Method Detail
-
copy
public SqmTreatedBagJoin<O,T,S> copy(SqmCopyContext context)
- Specified by:
copyin interfaceSqmExpression<O>- Specified by:
copyin interfaceSqmFrom<O,T>- Specified by:
copyin interfaceSqmJoin<O,T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<O>- Specified by:
copyin interfaceSqmSelectableNode<O>- Specified by:
copyin interfaceSqmTypedNode<O>- Overrides:
copyin classSqmBagJoin<O,S extends T>
-
getWrappedPath
public SqmBagJoin<O,T> getWrappedPath()
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<O,T>- Specified by:
getWrappedPathin interfaceSqmTreatedPath<O,T>
-
getTreatTarget
public EntityDomainType<S> getTreatTarget()
- Specified by:
getTreatTargetin interfaceSqmTreatedPath<O,T>
-
getNodeType
public SqmPathSource<S> getNodeType()
Description copied from interface:SqmPathThis node's type is its "referenced path source"- Specified by:
getNodeTypein interfaceSqmExpression<O>- Specified by:
getNodeTypein interfaceSqmPath<O>- Specified by:
getNodeTypein interfaceSqmTypedNode<O>- Overrides:
getNodeTypein classAbstractSqmPath<S extends T>
-
getReferencedPathSource
public EntityDomainType<S> getReferencedPathSource()
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmAttributeJoin<O,T>- Specified by:
getReferencedPathSourcein interfaceSqmFrom<O,T>- Specified by:
getReferencedPathSourcein interfaceSqmPath<O>- Overrides:
getReferencedPathSourcein classAbstractSqmPath<S extends T>- See Also:
SqmPathSource.createSqmPath(org.hibernate.query.sqm.tree.domain.SqmPath<?>, org.hibernate.query.sqm.SqmPathSource<?>)
-
getResolvedModel
public SqmPathSource<?> getResolvedModel()
Description copied from interface:JpaPathGet this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModelin interfaceJpaPath<O>- Overrides:
getResolvedModelin classAbstractSqmPath<S extends T>
-
makeCopy
public SqmAttributeJoin<O,S> makeCopy(SqmCreationProcessingState creationProcessingState)
- Specified by:
makeCopyin interfaceSqmAttributeJoin<O,T>- Overrides:
makeCopyin classSqmBagJoin<O,S extends T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom<O,S extends T>
-
-