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>, SqmCacheable, 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, @Nullable String alias) SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, SqmTreatableDomainType<S> treatTarget, @Nullable String alias, boolean fetched) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) @NonNull SqmBindableType<S> The expression's type.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(@Nullable Expression<Boolean> restriction) on(@Nullable JpaExpression<Boolean> restriction) Add a restriction to the fetch.on(JpaPredicate @Nullable ... restrictions) Add a restriction to the fetch.<S1 extends S>
SqmTreatedMapJoin<L, K, S, S1> <S1 extends S>
SqmTreatedMapJoin<L, K, S, S1> treatAs(EntityDomainType<S1> treatTarget, @Nullable String alias, boolean fetch) Methods inherited from class SqmMapJoin
accept, createCorrelation, entry, getAttribute, getModel, key, treatAs, treatAs, treatAs, treatAs, valueMethods inherited from class AbstractSqmAttributeJoin
alias, clearFetched, deepEquals, getJoinType, getLhs, getNodeJavaType, getParent, isDeepCompatible, isFetched, isImplicitJoinMethods inherited from class AbstractSqmJoin
applyRestriction, copyTo, getJoinPredicate, getOn, getSqmJoinType, join, join, setJoinPredicateMethods inherited from class 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 AbstractSqmPath
cacheHashCode, copyTo, equals, get, get, get, get, get, getExpressible, getJavaTypeDescriptor, getNavigablePath, getNavigablePathCopy, getReusablePath, getReusablePaths, getTreatedPath, hashCode, isCompatible, registerReusablePath, resolvePath, resolvePath, toString, type, visitReusablePathsMethods inherited from class AbstractSqmExpression
applyInferableType, as, cast, equalTo, equalTo, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualToMethods inherited from class AbstractJpaSelection
getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from interface Fetch
getJoinType, getParentMethods inherited from interface From
getJoins, isCorrelatedMethods inherited from interface Join
getJoinType, getParentMethods inherited from interface JpaFrom
id, join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinLateral, joinLateral, joinLateralMethods inherited from interface JpaPath
getParentPathMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmAttributeJoin
clearFetched, getAttribute, getJavaTypeDescriptor, getJoinPredicate, getLhs, isFetched, isImplicitJoin, isImplicitlySelectable, setJoinPredicateMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface 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 SqmFrom
addSqmJoin, deepEquals, getCorrelationParent, getNumberOfJoins, getSqmJoins, getSqmTreats, hasImplicitlySelectableJoin, hasJoins, hasTreats, isDeepCompatible, join, join, resolveAlias, visitSqmJoinsMethods inherited from interface 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 SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTreatedAttributeJoin
treatAs, treatAs, treatAs, treatAsMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
accept, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, SqmTreatableDomainType<S> treatTarget, @Nullable String alias) -
SqmTreatedMapJoin
public SqmTreatedMapJoin(SqmMapJoin<L, K, V> wrappedPath, SqmTreatableDomainType<S> treatTarget, @Nullable String alias, boolean fetched)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmAttributeJoin<L,K> - 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:SqmExpressionThe expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(SqmBindableType)- 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
public <S1 extends S> SqmTreatedMapJoin<L,K, treatAsS, S1> (EntityDomainType<S1> treatTarget, @Nullable String alias, boolean fetch) -
treatAs
-
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>
-