Class SqmBasicValuedSimplePath<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.SqmBasicValuedSimplePath<T>
-
- All Implemented Interfaces:
Expression<T>
,Path<T>
,Selection<T>
,TupleElement<T>
,Serializable
,BindableType<T>
,JpaCriteriaNode
,JpaExpression<T>
,JpaPath<T>
,JpaSelection<T>
,JpaTupleElement<T>
,SemanticPathPart
,SqmExpressible<T>
,SqmPath<T>
,SqmSimplePath<T>
,SqmExpression<T>
,SqmSelectableNode<T>
,SqmExpressibleAccessor<T>
,SqmNode
,SqmTypedNode<T>
,SqmVisitableNode
public class SqmBasicValuedSimplePath<T> extends AbstractSqmSimplePath<T> implements SqmExpressible<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)
SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> X
accept(SemanticQueryWalker<X> walker)
Accept the walker per visitationSqmBasicValuedSimplePath<T>
copy(SqmCopyContext context)
Class<T>
getBindableJavaType()
The expected Java typeSqmExpressible<T>
getExpressible()
JavaType<T>
getExpressibleJavaType()
The Java type descriptor for this expressibleClass<T>
getJavaType()
BasicJavaType<T>
getJavaTypeDescriptor()
SqmPathSource<T>
getNodeType()
This node's type is its "referenced path source"SqmPathSource<T>
getReferencedPathSource()
The path source that this path refers to (and that most likely created it).JavaType<?>
getRelationalJavaType()
DomainType<T>
getSqmType()
SqmPath<?>
resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)
SqmPath<?>
resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
<S extends T>
SqmTreatedPath<T,S>treatAs(Class<S> treatJavaType)
Support for JPA's explicit (TREAT) down-casting.<S extends T>
SqmTreatedPath<T,S>treatAs(EntityDomainType<S> treatTarget)
Support for JPA's explicit (TREAT) down-casting.-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath
appendHqlString, getModel
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, getExplicitAlias, getLhs, getNavigablePath, getNavigablePathCopy, getResolvedModel, 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, 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
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, getLhs, getNavigablePath, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, resolveAlias, setExplicitAlias, type, visitReusablePaths
-
Methods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLength
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Constructor Detail
-
SqmBasicValuedSimplePath
public SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, NodeBuilder nodeBuilder)
-
SqmBasicValuedSimplePath
public SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmBasicValuedSimplePath<T> 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>
-
getExpressible
public SqmExpressible<T> getExpressible()
- Specified by:
getExpressible
in interfaceSqmExpressibleAccessor<T>
- Specified by:
getExpressible
in interfaceSqmTypedNode<T>
- Overrides:
getExpressible
in classAbstractSqmPath<T>
-
resolvePathPart
public SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolvePathPart
in interfaceSemanticPathPart
- Specified by:
resolvePathPart
in interfaceSqmPath<T>
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)
- Specified by:
resolveIndexedAccess
in interfaceSemanticPathPart
- Specified by:
resolveIndexedAccess
in interfaceSqmPath<T>
-
getReferencedPathSource
public SqmPathSource<T> 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<T>
- See Also:
SqmPathSource.createSqmPath(org.hibernate.query.sqm.tree.domain.SqmPath<?>, org.hibernate.query.sqm.SqmPathSource<?>)
-
getNodeType
public SqmPathSource<T> 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<T>
-
getJavaTypeDescriptor
public BasicJavaType<T> getJavaTypeDescriptor()
- Specified by:
getJavaTypeDescriptor
in interfaceJpaTupleElement<T>
- Specified by:
getJavaTypeDescriptor
in interfaceSqmPath<T>
- Overrides:
getJavaTypeDescriptor
in classAbstractSqmExpression<T>
-
treatAs
public <S extends T> SqmTreatedPath<T,S> treatAs(Class<S> treatJavaType) throws PathException
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.
-
treatAs
public <S extends T> SqmTreatedPath<T,S> treatAs(EntityDomainType<S> treatTarget) throws PathException
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.
-
getJavaType
public Class<T> getJavaType()
- Specified by:
getJavaType
in interfaceJpaTupleElement<T>
- Specified by:
getJavaType
in interfaceTupleElement<T>
-
getExpressibleJavaType
public JavaType<T> getExpressibleJavaType()
Description copied from interface:SqmExpressible
The Java type descriptor for this expressible- Specified by:
getExpressibleJavaType
in interfaceSqmExpressible<T>
-
getBindableJavaType
public Class<T> getBindableJavaType()
Description copied from interface:BindableType
The expected Java type- Specified by:
getBindableJavaType
in interfaceBindableType<T>
-
getSqmType
public DomainType<T> getSqmType()
- Specified by:
getSqmType
in interfaceSqmExpressible<T>
-
accept
public <X> X accept(SemanticQueryWalker<X> walker)
Description copied from interface:SqmVisitableNode
Accept the walker per visitation- Specified by:
accept
in interfaceSqmVisitableNode
-
getRelationalJavaType
public JavaType<?> getRelationalJavaType()
- Specified by:
getRelationalJavaType
in interfaceSqmExpressible<T>
-
-