Class SqmTreatedEntityValuedSimplePath<T, S extends T>
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.AbstractSqmSimplePath<S>
org.hibernate.query.sqm.tree.domain.SqmEntityValuedSimplePath<S>
org.hibernate.query.sqm.tree.domain.SqmTreatedEntityValuedSimplePath<T,S>
- All Implemented Interfaces:
Expression<S>, Path<S>, Selection<S>, TupleElement<S>, Serializable, JpaCriteriaNode, JpaExpression<S>, JpaPath<S>, JpaSelection<S>, JpaTreatedPath<T,S>, JpaTupleElement<S>, SemanticPathPart, SqmPath<S>, SqmPathWrapper<T, S>, SqmSimplePath<S>, SqmTreatedPath<T, S>, SqmExpression<S>, SqmSelectableNode<S>, SqmCacheable, SqmExpressibleAccessor<S>, SqmNode, SqmTypedNode<S>, SqmVisitableNode
public class SqmTreatedEntityValuedSimplePath<T, S extends T>
extends SqmEntityValuedSimplePath<S>
implements SqmSimplePath<S>, SqmTreatedPath<T,S>
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmTreatedEntityValuedSimplePath(SqmPath<T> wrappedPath, SqmEntityDomainType<S> treatTarget, NodeBuilder nodeBuilder) SqmTreatedEntityValuedSimplePath(SqmPluralValuedSimplePath<T> wrappedPath, SqmEntityDomainType<S> treatTarget, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<X> Xaccept(SemanticQueryWalker<X> walker) Accept the walker per visitationvoidappendHqlString(StringBuilder hql, SqmRenderContext context) copy(SqmCopyContext context) SqmPath<?> @NonNull SqmEntityDomainType<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.Access the wrapped SqmPath.<S1 extends S>
SqmTreatedEntityValuedSimplePath<S, S1> Support for JPA's explicit (TREAT) down-casting.Methods inherited from class SqmEntityValuedSimplePath
resolvePathPart, treatAsMethods inherited from class AbstractSqmSimplePath
getLhs, getModel, getParentNavigablePathMethods inherited from class AbstractSqmPath
cacheHashCode, copyTo, equals, get, get, get, get, getExplicitAlias, getExpressible, getJavaTypeDescriptor, getNavigablePath, getNavigablePathCopy, getNodeJavaType, getReusablePath, getReusablePaths, getTreatedPath, hashCode, isCompatible, registerReusablePath, resolvePath, resolvePath, setExplicitAlias, toString, treatAs, treatAs, treatAs, treatAs, 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
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods 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 SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, findRoot, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getLhs, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveIndexedAccess, resolvePathPart, setExplicitAlias, treatAs, treatAs, treatAs, treatAs, type, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTreatedPath
treatAsMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
SqmTreatedEntityValuedSimplePath
public SqmTreatedEntityValuedSimplePath(SqmPluralValuedSimplePath<T> wrappedPath, SqmEntityDomainType<S> treatTarget, NodeBuilder nodeBuilder) -
SqmTreatedEntityValuedSimplePath
public SqmTreatedEntityValuedSimplePath(SqmPath<T> wrappedPath, SqmEntityDomainType<S> treatTarget, NodeBuilder nodeBuilder)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<T>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<T>- Specified by:
copyin interfaceSqmSelectableNode<T>- Specified by:
copyin interfaceSqmTypedNode<T>- Overrides:
copyin classSqmEntityValuedSimplePath<S extends T>
-
getTreatTarget
- Specified by:
getTreatTargetin interfaceJpaTreatedPath<T, S extends T>- Specified by:
getTreatTargetin interfaceSqmTreatedPath<T, S extends T>
-
getWrappedPath
Description copied from interface:SqmPathWrapperAccess the wrapped SqmPath.- Specified by:
getWrappedPathin interfaceSqmPathWrapper<T, S extends T>- Specified by:
getWrappedPathin interfaceSqmTreatedPath<T, S extends T>
-
getNodeType
Description copied from interface:SqmExpressionThe expression's type.Can change as a result of calls to
SqmExpression.applyInferableType(SqmBindableType)- Specified by:
getNodeTypein interfaceSqmExpression<T>- Specified by:
getNodeTypein interfaceSqmPath<T>- Specified by:
getNodeTypein interfaceSqmTypedNode<T>- Overrides:
getNodeTypein classSqmEntityValuedSimplePath<S extends T>
-
getReferencedPathSource
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmPath<T>- Overrides:
getReferencedPathSourcein classAbstractSqmSimplePath<S extends T>- 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<T>- Overrides:
getResolvedModelin classAbstractSqmPath<S extends T>
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
get
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode- Overrides:
acceptin classSqmEntityValuedSimplePath<S extends T>
-
appendHqlString
- Specified by:
appendHqlStringin interfaceSqmVisitableNode- Overrides:
appendHqlStringin classAbstractSqmSimplePath<S extends T>
-