Class SqmTreatedRoot
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
org.hibernate.query.sqm.tree.domain.AbstractSqmPath
org.hibernate.query.sqm.tree.domain.AbstractSqmFrom
org.hibernate.query.sqm.tree.from.SqmRoot
org.hibernate.query.sqm.tree.domain.SqmTreatedRoot
- All Implemented Interfaces:
Expression, FetchParent, From, Path, Root, Selection, TupleElement, Serializable, JpaCriteriaNode, JpaExpression, JpaFetchParent, JpaFrom, JpaPath, JpaRoot, JpaSelection, JpaTreatedFrom, JpaTreatedPath, JpaTupleElement, SemanticPathPart, SqmPath, SqmPathWrapper, SqmTreatedFrom, SqmTreatedPath, SqmExpression, SqmFrom, SqmSelectableNode, SqmCacheable, SqmExpressibleAccessor, SqmNode, SqmTypedNode, SqmVisitableNode
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(SemanticQueryWalker walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) @Nullable SqmPath<?> getLhs()Get the left-hand side of this path - may be null, indicating a root, cross-join or entity-join@NonNull SqmBindableTypeThe 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) treatAs(EntityDomainType treatTarget, @Nullable 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, 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, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinCollection, joinCollection, 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, getExpressible, getJavaTypeDescriptor, getNavigablePath, getNavigablePathCopy, getNodeJavaType, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, hashCode, isCompatible, registerReusablePath, resolvePath, resolvePath, 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 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, join, join, join, join, join, joinArray, joinArray, joinArray, joinArray, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinArrayCollection, joinLateral, 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- Specified by:
copyin interfaceSqmFrom- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath- Specified by:
copyin interfaceSqmSelectableNode- Specified by:
copyin interfaceSqmTreatedFrom- Specified by:
copyin interfaceSqmTypedNode- Overrides:
copyin classSqmRoot
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath- Specified by:
getTreatTargetin interfaceSqmTreatedPath
-
getManagedType
- Specified by:
getManagedTypein interfaceJpaRoot- Overrides:
getManagedTypein classSqmRoot
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper- Specified by:
getWrappedPathin interfaceSqmTreatedPath
-
getNodeType
Description copied from interface:SqmExpressionThe expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(SqmBindableType)- Specified by:
getNodeTypein interfaceSqmExpression- Specified by:
getNodeTypein interfaceSqmPath- Specified by:
getNodeTypein interfaceSqmTypedNode- Overrides:
getNodeTypein classAbstractSqmPath
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmFrom- Specified by:
getReferencedPathSourcein interfaceSqmPath- Overrides:
getReferencedPathSourcein classAbstractSqmPath- Returns:
- See Also:
-
getLhs
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode- Overrides:
acceptin classSqmRoot
-
resolvePathPart
- Specified by:
resolvePathPartin interfaceSemanticPathPart- Specified by:
resolvePathPartin interfaceSqmPath- Overrides:
resolvePathPartin classAbstractSqmFrom
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmFrom
-
treatAs
-