Class SqmMapJoin<L,K,V>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<V>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<V>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<V>
org.hibernate.query.sqm.tree.domain.AbstractSqmPath<V>
org.hibernate.query.sqm.tree.domain.AbstractSqmFrom<L,V>
org.hibernate.query.sqm.tree.domain.AbstractSqmJoin<L,V>
org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin<L,V>
org.hibernate.query.sqm.tree.domain.AbstractSqmPluralJoin<L,Map<K,V>,V>
org.hibernate.query.sqm.tree.domain.SqmMapJoin<L,K,V>
- All Implemented Interfaces:
Expression<V>,Fetch<L,,V> FetchParent<L,,V> From<L,,V> Join<L,,V> MapJoin<L,,K, V> Path<V>,PluralJoin<L,,Map<K, V>, V> Selection<V>,TupleElement<V>,Serializable,JpaCriteriaNode,JpaExpression<V>,JpaFetch<L,,V> JpaFetchParent<L,,V> JpaFrom<L,,V> JpaJoin<L,,V> JpaMapJoin<L,,K, V> JpaPath<V>,JpaPluralJoin<L,,Map<K, V>, V> JpaSelection<V>,JpaTupleElement<V>,SemanticPathPart,SqmPath<V>,SqmExpression<V>,SqmAttributeJoin<L,,V> SqmFrom<L,,V> SqmJoin<L,,V> SqmSelectableNode<V>,SqmExpressibleAccessor<V>,SqmNode,SqmTypedNode<V>,SqmVisitableNode
- Direct Known Subclasses:
SqmCorrelatedMapJoin,SqmTreatedMapJoin
public class SqmMapJoin<L,K,V>
extends AbstractSqmPluralJoin<L,Map<K,V>,V>
implements JpaMapJoin<L,K,V>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionSqmMapJoin(SqmFrom<?, L> lhs, SqmMapPersistentAttribute<? super L, K, V> pluralValuedNavigable, String alias, SqmJoinType sqmJoinType, boolean fetched, NodeBuilder nodeBuilder) protectedSqmMapJoin(SqmFrom<?, L> lhs, NavigablePath navigablePath, SqmMapPersistentAttribute<L, K, V> pluralValuedNavigable, String alias, SqmJoinType joinType, boolean fetched, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationSqmMapJoin<L, K, V> copy(SqmCopyContext context) entry()getModel()key()SqmMapJoin<L, K, V> on(Expression<Boolean> restriction) SqmMapJoin<L, K, V> SqmMapJoin<L, K, V> on(JpaExpression<Boolean> restriction) Add a restriction to the fetch.SqmMapJoin<L, K, V> on(JpaPredicate... restrictions) Add a restriction to the fetch.<S extends V>
SqmTreatedMapJoin<L, K, V, S> Support for JPA's explicit (TREAT) down-casting.<S extends V>
SqmTreatedMapJoin<L, K, V, S> <S extends V>
SqmTreatedMapJoin<L, K, V, S> <S extends V>
SqmTreatedMapJoin<L, K, V, S> treatAs(EntityDomainType<S> treatTarget) Support for JPA's explicit (TREAT) down-casting.<S extends V>
SqmTreatedMapJoin<L, K, V, S> treatAs(EntityDomainType<S> treatTarget, String alias) <S extends V>
SqmTreatedMapJoin<L, K, V, S> treatAs(EntityDomainType<S> treatTarget, String alias, boolean fetch) value()Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
alias, clearFetched, equals, getJoinType, getLhs, getNodeJavaType, getParent, hashCode, 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, appendHqlString, 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, getNodeType, getReferencedPathSource, getResolvedModel, 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.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
getJavaTypeDescriptor, getJoinPredicate, getReferencedPathSource, isImplicitlySelectable, setJoinPredicateMethods 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, getNodeType, getResolvedModel, 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.SqmTypedNode
getExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
appendHqlString, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmMapJoin
public SqmMapJoin(SqmFrom<?, L> lhs, SqmMapPersistentAttribute<? super L, K, V> pluralValuedNavigable, String alias, SqmJoinType sqmJoinType, boolean fetched, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<L>- Specified by:
copyin interfaceSqmFrom<L,K> - Specified by:
copyin interfaceSqmJoin<L,K> - Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<L>- Specified by:
copyin interfaceSqmSelectableNode<L>- Specified by:
copyin interfaceSqmTypedNode<L>
-
getModel
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode- Overrides:
acceptin classAbstractSqmAttributeJoin<L,V>
-
getAttribute
- Specified by:
getAttributein interfaceFetch<L,K> - Specified by:
getAttributein interfaceJoin<L,K> - Specified by:
getAttributein interfaceJpaJoin<L,K> - Specified by:
getAttributein interfaceJpaPluralJoin<L,K, V> - Overrides:
getAttributein classAbstractSqmAttributeJoin<L,V>
-
key
-
value
-
entry
-
on
Description copied from interface:JpaFetchAdd a restriction to the fetch.- Specified by:
onin interfaceJpaFetch<L,K> - Specified by:
onin interfaceJpaJoin<L,K> - Specified by:
onin interfaceJpaMapJoin<L,K, V> - Specified by:
onin interfaceJpaPluralJoin<L,K, V> - Specified by:
onin interfaceSqmAttributeJoin<L,K> - Specified by:
onin interfaceSqmJoin<L,K> - Overrides:
onin classAbstractSqmAttributeJoin<L,V>
-
on
- Specified by:
onin interfaceJoin<L,K> - Specified by:
onin interfaceJpaJoin<L,K> - Specified by:
onin interfaceJpaMapJoin<L,K, V> - Specified by:
onin interfaceJpaPluralJoin<L,K, V> - Specified by:
onin interfaceMapJoin<L,K, V> - Specified by:
onin interfaceSqmAttributeJoin<L,K> - Specified by:
onin interfaceSqmJoin<L,K> - Overrides:
onin classAbstractSqmJoin<L,V>
-
on
Description copied from interface:JpaFetchAdd a restriction to the fetch.- Specified by:
onin interfaceJpaFetch<L,K> - Specified by:
onin interfaceJpaJoin<L,K> - Specified by:
onin interfaceJpaMapJoin<L,K, V> - Specified by:
onin interfaceJpaPluralJoin<L,K, V> - Specified by:
onin interfaceSqmAttributeJoin<L,K> - Specified by:
onin interfaceSqmJoin<L,K> - Overrides:
onin classAbstractSqmAttributeJoin<L,V>
-
on
- Specified by:
onin interfaceJoin<L,K> - Specified by:
onin interfaceJpaJoin<L,K> - Specified by:
onin interfaceJpaMapJoin<L,K, V> - Specified by:
onin interfaceJpaPluralJoin<L,K, V> - Specified by:
onin interfaceMapJoin<L,K, V> - Specified by:
onin interfaceSqmAttributeJoin<L,K> - Specified by:
onin interfaceSqmJoin<L,K> - Overrides:
onin classAbstractSqmJoin<L,V>
-
createCorrelation
- Specified by:
createCorrelationin classAbstractSqmFrom<L,V>
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.- Specified by:
treatAsin interfaceJpaFrom<L,K> - Specified by:
treatAsin interfaceJpaJoin<L,K> - Specified by:
treatAsin interfaceJpaMapJoin<L,K, V> - Specified by:
treatAsin interfaceJpaPath<L>- Specified by:
treatAsin interfaceJpaPluralJoin<L,K, V> - Specified by:
treatAsin interfaceSqmAttributeJoin<L,K> - Specified by:
treatAsin interfaceSqmFrom<L,K> - Specified by:
treatAsin interfaceSqmJoin<L,K> - Specified by:
treatAsin interfaceSqmPath<L>- Specified by:
treatAsin classAbstractSqmAttributeJoin<L,V>
-
treatAs
-
treatAs
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.- Specified by:
treatAsin interfaceJpaFrom<L,K> - Specified by:
treatAsin interfaceJpaJoin<L,K> - Specified by:
treatAsin interfaceJpaMapJoin<L,K, V> - Specified by:
treatAsin interfaceJpaPath<L>- Specified by:
treatAsin interfaceJpaPluralJoin<L,K, V> - Specified by:
treatAsin interfaceSqmAttributeJoin<L,K> - Specified by:
treatAsin interfaceSqmFrom<L,K> - Specified by:
treatAsin interfaceSqmJoin<L,K> - Specified by:
treatAsin interfaceSqmPath<L>- Specified by:
treatAsin classAbstractSqmAttributeJoin<L,V>
-
treatAs
public <S extends V> SqmTreatedMapJoin<L,K, treatAsV, S> (EntityDomainType<S> treatTarget, String alias, boolean fetch) -
treatAs
public <S extends V> SqmTreatedMapJoin<L,K, treatAsV, S> (EntityDomainType<S> treatTarget, String alias)
-