Class SqmTreatedMapJoin<O,K,V,S extends V>
- 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,Map<K,V>,V>
-
- org.hibernate.query.sqm.tree.domain.SqmMapJoin<O,K,S>
-
- org.hibernate.query.sqm.tree.domain.SqmTreatedMapJoin<O,K,V,S>
-
- All Implemented Interfaces:
Expression<S>
,Fetch<O,S>
,FetchParent<O,S>
,From<O,S>
,Join<O,S>
,MapJoin<O,K,S>
,Path<S>
,PluralJoin<O,Map<K,S>,S>
,Selection<S>
,TupleElement<S>
,Serializable
,JpaCriteriaNode
,JpaExpression<S>
,JpaFetch<O,S>
,JpaFetchParent<O,S>
,JpaFrom<O,S>
,JpaJoin<O,S>
,JpaJoinedFrom<O,S>
,JpaMapJoin<O,K,S>
,JpaPath<S>
,JpaPluralJoin<O,Map<K,S>,S>
,JpaSelection<S>
,JpaTupleElement<S>
,SemanticPathPart
,SqmPath<S>
,SqmPathWrapper<V,S>
,SqmTreatedPath<V,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 SqmTreatedMapJoin<O,K,V,S extends V> extends SqmMapJoin<O,K,S> implements SqmTreatedPath<V,S>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmTreatedMapJoin(SqmMapJoin<O,K,V> wrappedPath, EntityDomainType<S> treatTarget, String alias)
SqmTreatedMapJoin(SqmMapJoin<O,K,V> wrappedPath, EntityDomainType<S> treatTarget, String alias, boolean fetched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendHqlString(StringBuilder sb)
SqmTreatedMapJoin<O,K,V,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()
SqmMapJoin<O,K,V>
getWrappedPath()
Access the wrapped SqmPath.SqmMapJoin<O,K,S>
makeCopy(SqmCreationProcessingState creationProcessingState)
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.SqmMapJoin
accept, createCorrelation, entry, getAttribute, getModel, key, on, on, on, on, treatAs, treatAs, treatAs, treatAs, treatAs, treatAs, value
-
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, 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
-
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, 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
-
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<O,K,V> wrappedPath, EntityDomainType<S> treatTarget, String alias)
-
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<O,K,V> wrappedPath, EntityDomainType<S> treatTarget, String alias, boolean fetched)
-
-
Method Detail
-
copy
public SqmTreatedMapJoin<O,K,V,S> copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmExpression<O>
- Specified by:
copy
in interfaceSqmFrom<O,K>
- Specified by:
copy
in interfaceSqmJoin<O,K>
- 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 classSqmMapJoin<O,K,S extends V>
-
getWrappedPath
public SqmMapJoin<O,K,V> getWrappedPath()
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<O,K>
- Specified by:
getWrappedPath
in interfaceSqmTreatedPath<O,K>
-
getTreatTarget
public EntityDomainType<S> getTreatTarget()
- Specified by:
getTreatTarget
in interfaceSqmTreatedPath<O,K>
-
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 V>
-
getReferencedPathSource
public EntityDomainType<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,K>
- Specified by:
getReferencedPathSource
in interfaceSqmFrom<O,K>
- Specified by:
getReferencedPathSource
in interfaceSqmPath<O>
- Overrides:
getReferencedPathSource
in classAbstractSqmPath<S extends V>
- 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 V>
-
makeCopy
public SqmMapJoin<O,K,S> makeCopy(SqmCreationProcessingState creationProcessingState)
- Specified by:
makeCopy
in interfaceSqmAttributeJoin<O,K>
- Overrides:
makeCopy
in classSqmMapJoin<O,K,S extends V>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmFrom<O,S extends V>
-
-