Class SqmPluralValuedSimplePath<E>
- 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<E>
-
- org.hibernate.query.sqm.tree.domain.SqmPluralValuedSimplePath<E>
-
- Type Parameters:
E- The collection element type, which is the "bindable" type in the SQM tree
- All Implemented Interfaces:
Expression<E>,Path<E>,Selection<E>,TupleElement<E>,Serializable,JpaCriteriaNode,JpaExpression<E>,JpaPath<E>,JpaSelection<E>,JpaTupleElement<E>,SemanticPathPart,SqmPath<E>,SqmSimplePath<E>,SqmExpression<E>,SqmSelectableNode<E>,SqmExpressibleAccessor<E>,SqmNode,SqmTypedNode<E>,SqmVisitableNode
public class SqmPluralValuedSimplePath<E> extends AbstractSqmSimplePath<E>
An SqmPath for plural attribute paths- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?,?,E> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?,?,E> referencedNavigable, SqmPath<?> lhs, NodeBuilder nodeBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(SemanticQueryWalker<T> walker)Accept the walker per visitationSqmPluralValuedSimplePath<E>copy(SqmCopyContext context)PluralPersistentAttribute<?,?,E>getModel()PluralPersistentAttribute<?,?,E>getNodeType()This node's type is its "referenced path source"PluralPersistentAttribute<?,?,E>getReferencedPathSource()The path source that this path refers to (and that most likely created it).SqmPath<?>resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)SqmPath<?>resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)<S extends E>
SqmTreatedSimplePath<E,S>treatAs(Class<S> treatJavaType)Support for JPA's explicit (TREAT) down-casting.<S extends E>
SqmTreatedPath<E,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
-
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, getExplicitAlias, getExpressible, 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
alias, 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
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
-
Methods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelection
-
Methods inherited from interface org.hibernate.query.sqm.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, 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, 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
getExpressible, getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlString
-
Methods inherited from interface jakarta.persistence.TupleElement
getAlias
-
-
-
-
Constructor Detail
-
SqmPluralValuedSimplePath
public SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?,?,E> referencedNavigable, SqmPath<?> lhs, NodeBuilder nodeBuilder)
-
SqmPluralValuedSimplePath
public SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?,?,E> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)
-
-
Method Detail
-
copy
public SqmPluralValuedSimplePath<E> copy(SqmCopyContext context)
-
getReferencedPathSource
public PluralPersistentAttribute<?,?,E> getReferencedPathSource()
Description copied from interface:SqmPathThe path source that this path refers to (and that most likely created it).- Specified by:
getReferencedPathSourcein interfaceSqmPath<E>- Overrides:
getReferencedPathSourcein classAbstractSqmSimplePath<E>- See Also:
SqmPathSource.createSqmPath(org.hibernate.query.sqm.tree.domain.SqmPath<?>, org.hibernate.query.sqm.SqmPathSource<?>)
-
getModel
public PluralPersistentAttribute<?,?,E> getModel()
-
getNodeType
public PluralPersistentAttribute<?,?,E> getNodeType()
Description copied from interface:SqmPathThis node's type is its "referenced path source"- Specified by:
getNodeTypein interfaceSqmExpression<E>- Specified by:
getNodeTypein interfaceSqmPath<E>- Specified by:
getNodeTypein interfaceSqmTypedNode<E>- Overrides:
getNodeTypein classAbstractSqmSimplePath<E>
-
accept
public <T> T accept(SemanticQueryWalker<T> walker)
Description copied from interface:SqmVisitableNodeAccept the walker per visitation
-
resolvePathPart
public SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)
-
treatAs
public <S extends E> SqmTreatedSimplePath<E,S> treatAs(Class<S> treatJavaType) throws PathException
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.- Throws:
PathException
-
treatAs
public <S extends E> SqmTreatedPath<E,S> treatAs(EntityDomainType<S> treatTarget) throws PathException
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.- Throws:
PathException
-
-