Class SqmTreatedMapJoin<L,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<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<L,Map<K,V>,V>
org.hibernate.query.sqm.tree.domain.SqmMapJoin<L,K,S>
org.hibernate.query.sqm.tree.domain.SqmTreatedMapJoin<L,K,V,S>
- All Implemented Interfaces:
Expression<S>
,Fetch<L,
,S> FetchParent<L,
,S> From<L,
,S> Join<L,
,S> MapJoin<L,
,K, S> Path<S>
,PluralJoin<L,
,Map<K, S>, S> Selection<S>
,TupleElement<S>
,Serializable
,JpaCriteriaNode
,JpaExpression<S>
,JpaFetch<L,
,S> JpaFetchParent<L,
,S> JpaFrom<L,
,S> JpaJoin<L,
,S> JpaMapJoin<L,
,K, S> JpaPath<S>
,JpaPluralJoin<L,
,Map<K, S>, S> JpaSelection<S>
,JpaTreatedFrom<L,
,V, S> JpaTreatedJoin<L,
,V, S> JpaTreatedPath<V,
,S> JpaTupleElement<S>
,SemanticPathPart
,SqmPath<S>
,SqmPathWrapper<V,
,S> SqmTreatedFrom<L,
,V, S> SqmTreatedJoin<L,
,V, S> SqmTreatedPath<V,
,S> SqmExpression<S>
,SqmAttributeJoin<L,
,S> SqmFrom<L,
,S> SqmJoin<L,
,S> SqmTreatedAttributeJoin<L,
,V, S> SqmSelectableNode<S>
,SqmExpressibleAccessor<S>
,SqmNode
,SqmTypedNode<S>
,SqmVisitableNode
public class SqmTreatedMapJoin<L,K,V,S extends V>
extends SqmMapJoin<L,K,S>
implements SqmTreatedAttributeJoin<L,V,S>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmTreatedMapJoin
(SqmMapJoin<L, K, V> wrappedPath, TreatableDomainType<S> treatTarget, String alias) SqmTreatedMapJoin
(SqmMapJoin<L, K, V> wrappedPath, TreatableDomainType<S> 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.SqmMapJoin<L,
K, V> 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.<S1 extends S>
SqmTreatedMapJoin<L,K, S, S1> Support for JPA's explicit (TREAT) down-casting.<S1 extends S>
SqmTreatedMapJoin<L,K, S, S1> <S1 extends S>
SqmTreatedMapJoin<L,K, S, S1> treatAs
(EntityDomainType<S1> treatTarget) Support for JPA's explicit (TREAT) down-casting.<S1 extends S>
SqmTreatedMapJoin<L,K, S, S1> treatAs
(EntityDomainType<S1> treatTarget, String alias) Methods inherited from class org.hibernate.query.sqm.tree.domain.SqmMapJoin
accept, createCorrelation, entry, getAttribute, getModel, key, treatAs, treatAs, value
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.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
-
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, TreatableDomainType<S> treatTarget, String alias) -
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, TreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceSqmExpression<L>
- Specified by:
copy
in interfaceSqmFrom<L,
K> - Specified by:
copy
in interfaceSqmJoin<L,
K> - Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmPath<L>
- Specified by:
copy
in interfaceSqmSelectableNode<L>
- Specified by:
copy
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Specified by:
copy
in interfaceSqmTreatedFrom<L,
K, V> - Specified by:
copy
in interfaceSqmTypedNode<L>
- Overrides:
copy
in classSqmMapJoin<L,
K, S extends V>
-
getWrappedPath
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<L,
K> - Specified by:
getWrappedPath
in interfaceSqmTreatedPath<L,
K>
-
getTreatTarget
- Specified by:
getTreatTarget
in interfaceJpaTreatedPath<L,
K> - Specified by:
getTreatTarget
in interfaceSqmTreatedPath<L,
K>
-
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<S extends V>
-
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,
K> - Specified by:
getReferencedPathSource
in interfaceSqmFrom<L,
K> - Specified by:
getReferencedPathSource
in interfaceSqmPath<L>
- Overrides:
getReferencedPathSource
in classAbstractSqmPath<S extends V>
- 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<S extends V>
-
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.- Specified by:
treatAs
in interfaceJpaFrom<L,
K> - Specified by:
treatAs
in interfaceJpaJoin<L,
K> - Specified by:
treatAs
in interfaceJpaMapJoin<L,
K, V> - Specified by:
treatAs
in interfaceJpaPath<L>
- Specified by:
treatAs
in interfaceJpaPluralJoin<L,
K, V> - Specified by:
treatAs
in interfaceJpaTreatedFrom<L,
K, V> - Specified by:
treatAs
in interfaceJpaTreatedJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmAttributeJoin<L,
K> - Specified by:
treatAs
in interfaceSqmFrom<L,
K> - Specified by:
treatAs
in interfaceSqmJoin<L,
K> - Specified by:
treatAs
in interfaceSqmPath<L>
- Specified by:
treatAs
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedFrom<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedPath<L,
K> - Overrides:
treatAs
in classSqmMapJoin<L,
K, S extends V>
-
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.- Specified by:
treatAs
in interfaceJpaFrom<L,
K> - Specified by:
treatAs
in interfaceJpaJoin<L,
K> - Specified by:
treatAs
in interfaceJpaMapJoin<L,
K, V> - Specified by:
treatAs
in interfaceJpaPath<L>
- Specified by:
treatAs
in interfaceJpaPluralJoin<L,
K, V> - Specified by:
treatAs
in interfaceJpaTreatedFrom<L,
K, V> - Specified by:
treatAs
in interfaceJpaTreatedJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmAttributeJoin<L,
K> - Specified by:
treatAs
in interfaceSqmFrom<L,
K> - Specified by:
treatAs
in interfaceSqmJoin<L,
K> - Specified by:
treatAs
in interfaceSqmPath<L>
- Specified by:
treatAs
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedFrom<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedPath<L,
K> - Overrides:
treatAs
in classSqmMapJoin<L,
K, S extends V>
-
treatAs
- Specified by:
treatAs
in interfaceSqmAttributeJoin<L,
K> - Specified by:
treatAs
in interfaceSqmFrom<L,
K> - Specified by:
treatAs
in interfaceSqmJoin<L,
K> - Specified by:
treatAs
in interfaceSqmPath<L>
- Specified by:
treatAs
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedFrom<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedJoin<L,
K, V> - Overrides:
treatAs
in classSqmMapJoin<L,
K, S extends V>
-
treatAs
public <S1 extends S> SqmTreatedMapJoin<L,K, treatAsS, S1> (EntityDomainType<S1> treatTarget, String alias) - Specified by:
treatAs
in interfaceSqmAttributeJoin<L,
K> - Specified by:
treatAs
in interfaceSqmFrom<L,
K> - Specified by:
treatAs
in interfaceSqmJoin<L,
K> - Specified by:
treatAs
in interfaceSqmPath<L>
- Specified by:
treatAs
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedFrom<L,
K, V> - Specified by:
treatAs
in interfaceSqmTreatedJoin<L,
K, V> - Overrides:
treatAs
in classSqmMapJoin<L,
K, S extends V>
-
on
Description copied from interface:JpaFetch
Add a restriction to the fetch.- Specified by:
on
in interfaceJpaFetch<L,
K> - Specified by:
on
in interfaceJpaJoin<L,
K> - Specified by:
on
in interfaceJpaMapJoin<L,
K, V> - Specified by:
on
in interfaceJpaPluralJoin<L,
K, V> - Specified by:
on
in interfaceSqmAttributeJoin<L,
K> - Specified by:
on
in interfaceSqmJoin<L,
K> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Overrides:
on
in classSqmMapJoin<L,
K, S extends V>
-
on
- Specified by:
on
in interfaceJoin<L,
K> - Specified by:
on
in interfaceJpaJoin<L,
K> - Specified by:
on
in interfaceJpaMapJoin<L,
K, V> - Specified by:
on
in interfaceJpaPluralJoin<L,
K, V> - Specified by:
on
in interfaceMapJoin<L,
K, V> - Specified by:
on
in interfaceSqmAttributeJoin<L,
K> - Specified by:
on
in interfaceSqmJoin<L,
K> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Overrides:
on
in classSqmMapJoin<L,
K, S extends V>
-
on
Description copied from interface:JpaFetch
Add a restriction to the fetch.- Specified by:
on
in interfaceJpaFetch<L,
K> - Specified by:
on
in interfaceJpaJoin<L,
K> - Specified by:
on
in interfaceJpaMapJoin<L,
K, V> - Specified by:
on
in interfaceJpaPluralJoin<L,
K, V> - Specified by:
on
in interfaceSqmAttributeJoin<L,
K> - Specified by:
on
in interfaceSqmJoin<L,
K> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Overrides:
on
in classSqmMapJoin<L,
K, S extends V>
-
on
- Specified by:
on
in interfaceJoin<L,
K> - Specified by:
on
in interfaceJpaJoin<L,
K> - Specified by:
on
in interfaceJpaMapJoin<L,
K, V> - Specified by:
on
in interfaceJpaPluralJoin<L,
K, V> - Specified by:
on
in interfaceMapJoin<L,
K, V> - Specified by:
on
in interfaceSqmAttributeJoin<L,
K> - Specified by:
on
in interfaceSqmJoin<L,
K> - Specified by:
on
in interfaceSqmTreatedAttributeJoin<L,
K, V> - Overrides:
on
in classSqmMapJoin<L,
K, S extends V>
-
appendHqlString
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmFrom<L,
S extends V>
-