Class SqmPluralValuedSimplePath<C>
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<C>
org.hibernate.query.sqm.tree.domain.SqmPluralValuedSimplePath<C>
- Type Parameters:
C
- The collection type
- All Implemented Interfaces:
Expression<C>
,Path<C>
,Selection<C>
,TupleElement<C>
,Serializable
,JpaCriteriaNode
,JpaExpression<C>
,JpaPath<C>
,JpaSelection<C>
,JpaTupleElement<C>
,SemanticPathPart
,SqmPath<C>
,SqmSimplePath<C>
,SqmExpression<C>
,SqmSelectableNode<C>
,SqmExpressibleAccessor<C>
,SqmNode
,SqmTypedNode<C>
,SqmVisitableNode
An SqmPath for plural attribute paths
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmPluralValuedSimplePath
(NavigablePath navigablePath, SqmPluralPersistentAttribute<?, C, ?> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder) SqmPluralValuedSimplePath
(NavigablePath navigablePath, SqmPluralPersistentAttribute<?, C, ?> referencedNavigable, SqmPath<?> lhs, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(SemanticQueryWalker<T> walker) Accept the walker per visitationcopy
(SqmCopyContext context) SqmPath<?>
resolveIndexedAccess
(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) SqmPath<?>
resolvePathPart
(String name, boolean isTerminal, SqmCreationState creationState) <S extends C>
SqmTreatedPath<C,S> Support for JPA's explicit (TREAT) down-casting.<S extends C>
SqmTreatedEntityValuedSimplePath<C,S> treatAs
(EntityDomainType<S> treatTarget) Support for JPA's explicit (TREAT) down-casting.SqmExpression<Class<? extends C>>
type()
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath
appendHqlString, getModel, getNodeType, getReferencedPathSource
Methods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, get, get, get, get, get, getExplicitAlias, getExpressible, getLhs, getNavigablePath, getNavigablePathCopy, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, registerReusablePath, resolvePath, resolvePath, setExplicitAlias, toString, treatAs, treatAs, treatAs, treatAs, visitReusablePaths
Methods inherited from class org.hibernate.query.sqm.tree.expression.AbstractSqmExpression
applyInferableType, as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, equalTo, equalTo, in, in, in, in, internalApplyInferableType, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo
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.tree.expression.SqmExpression
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, cast, castAs, equalTo, equalTo, in, in, in, in, isNotNull, isNull, notEqualTo, notEqualTo, 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, get, getExplicitAlias, getLhs, getNavigablePath, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, setExplicitAlias, treatAs, treatAs, treatAs, treatAs, 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 Details
-
Method Details
-
copy
-
getPluralAttribute
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptor
in interfaceJpaTupleElement<C>
- Specified by:
getJavaTypeDescriptor
in interfaceSqmPath<C>
- Overrides:
getJavaTypeDescriptor
in classAbstractSqmExpression<C>
-
accept
Description copied from interface:SqmVisitableNode
Accept the walker per visitation -
resolvePathPart
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) -
type
-
treatAs
Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.- Specified by:
treatAs
in interfaceJpaPath<C>
- Specified by:
treatAs
in interfaceSqmPath<C>
- Overrides:
treatAs
in classAbstractSqmPath<C>
- Throws:
PathException
-
treatAs
public <S extends C> SqmTreatedEntityValuedSimplePath<C,S> treatAs(EntityDomainType<S> treatTarget) throws PathException Description copied from interface:JpaPath
Support for JPA's explicit (TREAT) down-casting.- Specified by:
treatAs
in interfaceJpaPath<C>
- Specified by:
treatAs
in interfaceSqmPath<C>
- Overrides:
treatAs
in classAbstractSqmPath<C>
- Throws:
PathException
-