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, TreatableDomainType<S> treatTarget, String alias)
SqmTreatedBagJoin(SqmBagJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendHqlString(StringBuilder sb)
SqmTreatedBagJoin<O,T,S>
copy(SqmCopyContext context)
SqmPathSource<S>
getNodeType()
This node's type is its "referenced path source"TreatableDomainType<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.TreatableDomainType<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, treatAs, treatAs
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
alias, clearFetched, 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, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoins, getParentPath, getSqmJoins, getSqmTreats, 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, joinCollection, joinCollection, 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, 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, equalTo, equalTo, 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, getJavaTypeName, isEnum
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface org.hibernate.query.sqm.tree.from.SqmAttributeJoin
getJavaTypeDescriptor, getJoinPredicate, isImplicitlySelectable, setJoinPredicate
-
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, 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.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, toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Constructor Detail
-
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias)
-
SqmTreatedBagJoin
public SqmTreatedBagJoin(SqmBagJoin<O,T> wrappedPath, TreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
-
Method Detail
-
copy
public SqmTreatedBagJoin<O,T,S> copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmExpression<O>
- Specified by:
copy
in interfaceSqmFrom<O,T>
- Specified by:
copy
in interfaceSqmJoin<O,T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmPath<O>
- Specified by:
copy
in interfaceSqmSelectableNode<O>
- Specified by:
copy
in interfaceSqmTypedNode<O>
- Overrides:
copy
in classSqmBagJoin<O,S extends T>
-
getWrappedPath
public SqmBagJoin<O,T> getWrappedPath()
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<O,T>
- Specified by:
getWrappedPath
in interfaceSqmTreatedPath<O,T>
-
getTreatTarget
public TreatableDomainType<S> getTreatTarget()
- Specified by:
getTreatTarget
in interfaceSqmTreatedPath<O,T>
-
getNodeType
public SqmPathSource<S> getNodeType()
Description copied from interface:SqmPath
This node's type is its "referenced path source"- Specified by:
getNodeType
in interfaceSqmExpression<O>
- Specified by:
getNodeType
in interfaceSqmPath<O>
- Specified by:
getNodeType
in interfaceSqmTypedNode<O>
- Overrides:
getNodeType
in classAbstractSqmPath<S extends T>
-
getReferencedPathSource
public TreatableDomainType<S> 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<O,T>
- Specified by:
getReferencedPathSource
in interfaceSqmFrom<O,T>
- Specified by:
getReferencedPathSource
in interfaceSqmPath<O>
- Overrides:
getReferencedPathSource
in 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:SqmPath
Get this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModel
in interfaceSqmPath<O>
- Overrides:
getResolvedModel
in classAbstractSqmPath<S extends T>
-
makeCopy
public SqmAttributeJoin<O,S> makeCopy(SqmCreationProcessingState creationProcessingState)
- Specified by:
makeCopy
in interfaceSqmAttributeJoin<O,T>
- Overrides:
makeCopy
in classSqmBagJoin<O,S extends T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmFrom<O,S extends T>
-
-