Class SqmTreatedEmbeddedValuedSimplePath<T,S extends T>
- java.lang.Object
-
- org.hibernate.query.sqm.tree.AbstractSqmNode
-
- org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<T>
-
- org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<T>
-
- org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmPath<T>
-
- org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath<T>
-
- org.hibernate.query.sqm.tree.domain.SqmEmbeddedValuedSimplePath<S>
-
- org.hibernate.query.sqm.tree.domain.SqmTreatedEmbeddedValuedSimplePath<T,S>
-
- All Implemented Interfaces:
Expression<S>
,Path<S>
,Selection<S>
,TupleElement<S>
,Serializable
,BindableType<S>
,JpaCriteriaNode
,JpaExpression<S>
,JpaPath<S>
,JpaSelection<S>
,JpaTupleElement<S>
,SemanticPathPart
,SqmExpressible<S>
,SqmPath<S>
,SqmPathWrapper<T,S>
,SqmSimplePath<S>
,SqmTreatedPath<T,S>
,SqmExpression<S>
,SqmSelectableNode<S>
,SqmExpressibleAccessor<S>
,SqmNode
,SqmTypedNode<S>
,SqmVisitableNode
public class SqmTreatedEmbeddedValuedSimplePath<T,S extends T> extends SqmEmbeddedValuedSimplePath<S> implements SqmTreatedPath<T,S>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmTreatedEmbeddedValuedSimplePath(SqmPath<T> wrappedPath, EmbeddableDomainType<S> treatTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> X
accept(SemanticQueryWalker<X> walker)
Accept the walker per visitationvoid
appendHqlString(StringBuilder sb)
SqmTreatedEmbeddedValuedSimplePath<T,S>
copy(SqmCopyContext context)
SqmPath<?>
getLhs()
Get the left-hand side of this path - may be null, indicating a root, cross-join or entity-joinSqmPathSource<S>
getNodeType()
This node's type is its "referenced path source"EmbeddableDomainType<S>
getReferencedPathSource()
The path source that this path refers to (and that most likely created it).SqmPathSource<?>
getResolvedModel()
Get this path's actual resolved model, i.e.EmbeddableDomainType<S>
getTreatTarget()
SqmPath<T>
getWrappedPath()
Access the wrapped SqmPath.SqmPath<?>
resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.SqmEmbeddedValuedSimplePath
getBindableJavaType, getExpressible, getExpressibleJavaType, getJavaType, getRelationalJavaType, getSqmType, treatAs, treatAs
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath
getModel
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, getExplicitAlias, getNavigablePath, getNavigablePathCopy, getReusablePath, getReusablePaths, getTreatedPath, registerReusablePath, resolvePath, resolvePath, setExplicitAlias, toString, type, visitReusablePaths
-
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, equalTo, equalTo, getJavaTypeDescriptor, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder
-
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelection
-
Methods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPath
-
Methods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItems
-
Methods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnum
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getTypeName, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, visitSubSelectableNodes
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilder
-
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmPath
applyInferableType, findRoot, get, get, get, get, getExplicitAlias, getJavaTypeDescriptor, getNavigablePath, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, resolveIndexedAccess, setExplicitAlias, treatAs, treatAs, type, visitReusablePaths
-
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Constructor Detail
-
SqmTreatedEmbeddedValuedSimplePath
public SqmTreatedEmbeddedValuedSimplePath(SqmPath<T> wrappedPath, EmbeddableDomainType<S> treatTarget)
-
-
Method Detail
-
copy
public SqmTreatedEmbeddedValuedSimplePath<T,S> copy(SqmCopyContext context)
- Specified by:
copy
in interfaceSqmExpression<T>
- Specified by:
copy
in interfaceSqmNode
- Specified by:
copy
in interfaceSqmPath<T>
- Specified by:
copy
in interfaceSqmSelectableNode<T>
- Specified by:
copy
in interfaceSqmTypedNode<T>
- Overrides:
copy
in classSqmEmbeddedValuedSimplePath<S extends T>
-
getTreatTarget
public EmbeddableDomainType<S> getTreatTarget()
- Specified by:
getTreatTarget
in interfaceSqmTreatedPath<T,S extends T>
-
getWrappedPath
public SqmPath<T> getWrappedPath()
Description copied from interface:SqmPathWrapper
Access the wrapped SqmPath.- Specified by:
getWrappedPath
in interfaceSqmPathWrapper<T,S extends T>
- Specified by:
getWrappedPath
in interfaceSqmTreatedPath<T,S extends T>
-
getNodeType
public SqmPathSource<S> getNodeType()
Description copied from interface:SqmPath
This node's type is its "referenced path source"- Specified by:
getNodeType
in interfaceSqmExpression<T>
- Specified by:
getNodeType
in interfaceSqmPath<T>
- Specified by:
getNodeType
in interfaceSqmTypedNode<T>
- Overrides:
getNodeType
in classAbstractSqmSimplePath<S extends T>
-
getResolvedModel
public SqmPathSource<?> getResolvedModel()
Description copied from interface:SqmPath
Get this path's actual resolved model, i.e. the concrete type for generic attributes.- Specified by:
getResolvedModel
in interfaceSqmPath<T>
- Overrides:
getResolvedModel
in classAbstractSqmPath<S extends T>
-
getReferencedPathSource
public EmbeddableDomainType<S> getReferencedPathSource()
Description copied from interface:SqmPath
The path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSource
in interfaceSqmPath<T>
- Overrides:
getReferencedPathSource
in classAbstractSqmSimplePath<S extends T>
- See Also:
SqmPathSource.createSqmPath(org.hibernate.query.sqm.tree.domain.SqmPath<?>, org.hibernate.query.sqm.SqmPathSource<?>)
-
getLhs
public SqmPath<?> getLhs()
Description copied from interface:SqmPath
Get the left-hand side of this path - may be null, indicating a root, cross-join or entity-join
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
- Overrides:
accept
in classSqmEmbeddedValuedSimplePath<S extends T>
-
resolvePathPart
public SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolvePathPart
in interfaceSemanticPathPart
- Specified by:
resolvePathPart
in interfaceSqmPath<T>
- Overrides:
resolvePathPart
in classSqmEmbeddedValuedSimplePath<S extends T>
-
appendHqlString
public void appendHqlString(StringBuilder sb)
- Specified by:
appendHqlString
in interfaceSqmVisitableNode
- Overrides:
appendHqlString
in classAbstractSqmSimplePath<S extends T>
-
-