Class SqmTreatedEntityJoin<L, R, S extends R>
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.from.SqmEntityJoin<L,S>
org.hibernate.query.sqm.tree.domain.SqmTreatedEntityJoin<L,R,S>
- All Implemented Interfaces:
Expression<S>, FetchParent<L,S>, From<L, S>, Join<L, S>, Path<S>, Selection<S>, TupleElement<S>, Serializable, JpaCriteriaNode, JpaEntityJoin<L, S>, JpaExpression<S>, JpaFetchParent<L, S>, JpaFrom<L, S>, JpaJoin<L, S>, JpaPath<S>, JpaSelection<S>, JpaTreatedFrom<L, R, S>, JpaTreatedJoin<L, R, S>, JpaTreatedPath<R, S>, JpaTupleElement<S>, SemanticPathPart, SqmPath<S>, SqmPathWrapper<R, S>, SqmSingularValuedJoin<L, S>, SqmTreatedFrom<L, R, S>, SqmTreatedJoin<L, R, S>, SqmTreatedPath<R, S>, SqmExpression<S>, SqmFrom<L, S>, SqmJoin<L, S>, SqmSelectableNode<S>, SqmCacheable, SqmExpressibleAccessor<S>, SqmNode, SqmTypedNode<S>, SqmVisitableNode
public class SqmTreatedEntityJoin<L, R, S extends R>
extends SqmEntityJoin<L,S>
implements SqmTreatedJoin<L,R,S>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmTreatedEntityJoin(SqmEntityJoin<L, R> wrappedPath, SqmEntityDomainType<S> treatTarget, @Nullable String alias) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) getModel()@NonNull SqmBindableType<S> The expression's type.The path source that this path refers to (and that most likely created it).Access the wrapped SqmPath.on(@Nullable Expression<Boolean> restriction) on(@Nullable JpaExpression<Boolean> restriction) on(JpaPredicate @Nullable ... restrictions) <S1 extends S>
SqmTreatedEntityJoin<L, S, S1> <S1 extends S>
SqmTreatedEntityJoin<L, S, S1> treatAs(EntityDomainType<S1> treatTarget, @Nullable String alias, boolean fetched) Methods inherited from class SqmEntityJoin
accept, createCorrelation, findRoot, getAttribute, getEntityName, getJoinType, getLhs, getParent, getRoot, isImplicitlySelectable, makeCopy, treatAs, treatAs, treatAs, treatAsMethods inherited from class AbstractSqmJoin
applyRestriction, copyTo, deepEquals, getJoinPredicate, getOn, getSqmJoinType, isDeepCompatible, join, join, setJoinPredicateMethods inherited from class AbstractSqmFrom
addSqmJoin, addTreat, alias, 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, getNodeJavaType, getResolvedModel, 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 From
getJoins, isCorrelatedMethods inherited from interface Join
getJoinType, getParentMethods inherited from interface JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods 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 JpaJoin
getAttributeMethods 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 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, getJoinPredicate, 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, setJoinPredicateMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, resolvePathPart, setExplicitAlias, type, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTreatedJoin
treatAs, treatAs, treatAs, treatAsMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
accept, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmTreatedEntityJoin
public SqmTreatedEntityJoin(SqmEntityJoin<L, R> wrappedPath, SqmEntityDomainType<S> treatTarget, @Nullable String alias)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<L>- Specified by:
copyin interfaceSqmFrom<L,R> - Specified by:
copyin interfaceSqmJoin<L,R> - Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<L>- Specified by:
copyin interfaceSqmSelectableNode<L>- Specified by:
copyin interfaceSqmTreatedFrom<L, R, S extends R>- Specified by:
copyin interfaceSqmTypedNode<L>- Overrides:
copyin classSqmEntityJoin<L, S extends R>
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath<L,R> - Specified by:
getTreatTargetin interfaceSqmTreatedPath<L,R>
-
getModel
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<L,R> - Specified by:
getWrappedPathin interfaceSqmTreatedPath<L,R>
-
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 R>
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmFrom<L,R> - Specified by:
getReferencedPathSourcein interfaceSqmPath<L>- Overrides:
getReferencedPathSourcein classSqmEntityJoin<L, S extends R>- Returns:
- See Also:
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom<L, S extends R>
-
on
-
on
-
on
-
on
-
treatAs
-
treatAs
public <S1 extends S> SqmTreatedEntityJoin<L,S, treatAsS1> (EntityDomainType<S1> treatTarget, @Nullable String alias, boolean fetched)
-