Class SqmTreatedMapJoin<L,K,V,S extends V>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<S>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<S>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<S>
org.hibernate.query.sqm.tree.domain.AbstractSqmPath<S>
org.hibernate.query.sqm.tree.domain.AbstractSqmFrom<L,S>
org.hibernate.query.sqm.tree.domain.AbstractSqmJoin<L,S>
org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin<L,S>
org.hibernate.query.sqm.tree.domain.AbstractSqmPluralJoin<L,Map<K,S>,S>
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, SqmTreatableDomainType<S> treatTarget, String alias) SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias, boolean fetched) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) booleanThis 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.inthashCode()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, valueMethods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmAttributeJoin
alias, clearFetched, getJoinType, getLhs, getNodeJavaType, getParent, 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, 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, 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.Fetch
getAttribute, getJoinType, getParentMethods 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
clearFetched, getJavaTypeDescriptor, getJoinPredicate, getLhs, isFetched, isImplicitJoin, isImplicitlySelectable, setJoinPredicate, treatAs, treatAsMethods 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, 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.domain.SqmTreatedFrom
treatAs, treatAsMethods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
accept, toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias) -
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, SqmTreatableDomainType<S> treatTarget, String alias, boolean fetched)
-
-
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 interfaceSqmTreatedAttributeJoin<L,K, V> - Specified by:
copyin interfaceSqmTreatedFrom<L,K, V> - Specified by:
copyin interfaceSqmTypedNode<L>- Overrides:
copyin classSqmMapJoin<L,K, S extends V>
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<L,K> - Specified by:
getWrappedPathin interfaceSqmTreatedPath<L,K>
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath<L,K> - Specified by:
getTreatTargetin interfaceSqmTreatedPath<L,K>
-
getNodeType
Description copied from interface:SqmPathThis node's type is its "referenced path source"- Specified by:
getNodeTypein interfaceSqmExpression<L>- Specified by:
getNodeTypein interfaceSqmPath<L>- Specified by:
getNodeTypein interfaceSqmTypedNode<L>- Overrides:
getNodeTypein classAbstractSqmPath<S extends V>
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmAttributeJoin<L,K> - Specified by:
getReferencedPathSourcein interfaceSqmFrom<L,K> - Specified by:
getReferencedPathSourcein interfaceSqmPath<L>- Overrides:
getReferencedPathSourcein classAbstractSqmPath<S extends V>- Returns:
- See Also:
-
getResolvedModel
Description copied from interface:SqmPathGet this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModelin interfaceSqmPath<L>- Overrides:
getResolvedModelin classAbstractSqmPath<S extends 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 interfaceJpaTreatedFrom<L,K, V> - Specified by:
treatAsin interfaceJpaTreatedJoin<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 interfaceSqmTreatedAttributeJoin<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedFrom<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedJoin<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedPath<L,K> - Overrides:
treatAsin classSqmMapJoin<L,K, S extends 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 interfaceJpaTreatedFrom<L,K, V> - Specified by:
treatAsin interfaceJpaTreatedJoin<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 interfaceSqmTreatedAttributeJoin<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedFrom<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedJoin<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedPath<L,K> - Overrides:
treatAsin classSqmMapJoin<L,K, S extends V>
-
treatAs
- 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 interfaceSqmTreatedAttributeJoin<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedFrom<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedJoin<L,K, V> - Overrides:
treatAsin classSqmMapJoin<L,K, S extends V>
-
treatAs
public <S1 extends S> SqmTreatedMapJoin<L,K, treatAsS, S1> (EntityDomainType<S1> treatTarget, String alias) - 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 interfaceSqmTreatedAttributeJoin<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedFrom<L,K, V> - Specified by:
treatAsin interfaceSqmTreatedJoin<L,K, V> - Overrides:
treatAsin classSqmMapJoin<L,K, S extends 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> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,K, V> - Overrides:
onin classSqmMapJoin<L,K, S extends 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> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,K, V> - Overrides:
onin classSqmMapJoin<L,K, S extends 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> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,K, V> - Overrides:
onin classSqmMapJoin<L,K, S extends 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> - Specified by:
onin interfaceSqmTreatedAttributeJoin<L,K, V> - Overrides:
onin classSqmMapJoin<L,K, S extends V>
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom<L,S extends V>
-
equals
- Overrides:
equalsin classAbstractSqmAttributeJoin<L,S extends V>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSqmAttributeJoin<L,S extends V>
-