Class SqmTreatedRoot<E, S extends E>
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<S,S>
org.hibernate.query.sqm.tree.from.SqmRoot<S>
org.hibernate.query.sqm.tree.domain.SqmTreatedRoot<E,S>
- All Implemented Interfaces:
Expression<S>, FetchParent<S,S>, From<S, S>, Path<S>, Root<S>, Selection<S>, TupleElement<S>, Serializable, JpaCriteriaNode, JpaExpression<S>, JpaFetchParent<S, S>, JpaFrom<S, S>, JpaPath<S>, JpaRoot<S>, JpaSelection<S>, JpaTreatedFrom<S, E, S>, JpaTreatedPath<E, S>, JpaTupleElement<S>, SemanticPathPart, SqmPath<S>, SqmPathWrapper<E, S>, SqmTreatedFrom<S, E, S>, SqmTreatedPath<E, S>, SqmExpression<S>, SqmFrom<S, S>, SqmSelectableNode<S>, SqmCacheable, SqmExpressibleAccessor<S>, SqmNode, SqmTypedNode<S>, SqmVisitableNode
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) SqmPath<?> getLhs()Get the left-hand side of this path - may be null, indicating a root, cross-join or entity-joinThe expression's type.The path source that this path refers to (and that most likely created it).Access the wrapped SqmPath.SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState) <S1 extends S>
SqmTreatedFrom<S, S, S1> treatAs(EntityDomainType<S1> treatTarget, String alias, boolean fetch) Methods inherited from class SqmRoot
addOrderedJoin, addSqmJoin, containsOnlyInnerJoins, copyTo, createCorrelation, deepEquals, findRoot, getEntityName, getModel, getOrderedJoins, isAllowJoins, isDeepCompatible, toString, treatAs, treatAs, treatAs, treatAs, treatAsMethods inherited from class AbstractSqmFrom
addTreat, alias, copyTo, crossJoin, crossJoin, fetch, fetch, fetch, fetch, fetch, fetch, findTreat, getCorrelationParent, getExplicitAlias, getFetches, getJoinList, 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, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinCollection, joinCollection, joinLateral, joinLateral, joinLateral, joinLateral, joinLateral, joinList, joinList, joinMap, joinMap, joinSet, joinSet, removeLeftFetchJoins, setExplicitAlias, visitSqmJoinsMethods inherited from class AbstractSqmPath
cacheHashCode, copyTo, equals, get, get, get, get, get, get, get, get, get, get, getExpressible, getJavaTypeDescriptor, getNavigablePath, getNavigablePathCopy, getNodeJavaType, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, hashCode, isCompatible, registerReusablePath, resolvePath, resolvePath, type, visitReusablePathsMethods inherited from class AbstractSqmExpression
applyInferableType, as, cast, coalesce, coalesce, count, countDistinct, equalTo, equalTo, in, in, in, in, in, internalApplyInferableType, isMember, isNotMember, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo, nullif, nullif, selectCase, selectCaseMethods inherited from class AbstractJpaSelection
getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from interface From
getJoinList, getJoins, isCorrelatedMethods inherited from interface JpaExpression
coalesce, coalesce, count, countDistinct, in, isMember, isNotMember, nullif, nullif, selectCase, selectCaseMethods inherited from interface JpaFetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface JpaFrom
crossJoin, crossJoin, id, join, join, join, join, join, join, join, join, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinLateral, 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 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, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, resolveAlias, visitSqmJoinsMethods inherited from interface SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getNavigablePath, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, setExplicitAlias, type, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmTreatedRoot
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<E>- Specified by:
copyin interfaceSqmFrom<E, S extends E>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<E>- Specified by:
copyin interfaceSqmSelectableNode<E>- Specified by:
copyin interfaceSqmTreatedFrom<S extends E, E, S extends E>- Specified by:
copyin interfaceSqmTypedNode<E>- Overrides:
copyin classSqmRoot<S extends E>
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath<E, S extends E>- Specified by:
getTreatTargetin interfaceSqmTreatedPath<E, S extends E>
-
getManagedType
- Specified by:
getManagedTypein interfaceJpaRoot<E>- Overrides:
getManagedTypein classSqmRoot<S extends E>
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<E, S extends E>- Specified by:
getWrappedPathin interfaceSqmTreatedPath<E, S extends E>
-
getNodeType
Description copied from interface:SqmExpressionThe expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(SqmBindableType)- Specified by:
getNodeTypein interfaceSqmExpression<E>- Specified by:
getNodeTypein interfaceSqmPath<E>- Specified by:
getNodeTypein interfaceSqmTypedNode<E>- Overrides:
getNodeTypein classAbstractSqmPath<S extends E>
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmFrom<E, S extends E>- Specified by:
getReferencedPathSourcein interfaceSqmPath<E>- Overrides:
getReferencedPathSourcein classAbstractSqmPath<S extends E>- Returns:
- See Also:
-
getLhs
Description copied from interface:SqmPathGet the left-hand side of this path - may be null, indicating a root, cross-join or entity-join -
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation -
resolvePathPart
- Specified by:
resolvePathPartin interfaceSemanticPathPart- Specified by:
resolvePathPartin interfaceSqmPath<E>- Overrides:
resolvePathPartin classAbstractSqmFrom<S extends E, S extends E>
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom<S extends E, S extends E>
-
treatAs
@Nonnull public <S1 extends S> SqmTreatedFrom<S,S, treatAsS1> (@Nonnull EntityDomainType<S1> treatTarget, @Nullable String alias, boolean fetch)
-