Class SqmPluralValuedSimplePath<C>
java.lang.Object
org.hibernate.query.sqm.tree.AbstractSqmNode
org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement<C>
org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection<C>
org.hibernate.query.sqm.tree.expression.AbstractSqmExpression<C>
org.hibernate.query.sqm.tree.domain.AbstractSqmPath<C>
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> Taccept(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, getReferencedPathSourceMethods inherited from class org.hibernate.query.sqm.tree.domain.AbstractSqmPath
copyTo, equals, get, get, get, get, get, getExplicitAlias, getExpressible, getLhs, getNavigablePath, getNavigablePathCopy, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, hashCode, registerReusablePath, resolvePath, resolvePath, setExplicitAlias, toString, treatAs, treatAs, treatAs, treatAs, visitReusablePathsMethods 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, notEqualToMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class org.hibernate.query.sqm.tree.jpa.AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.JpaPath
getParentPathMethods inherited from interface org.hibernate.query.criteria.JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface org.hibernate.query.criteria.JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface jakarta.persistence.criteria.Selection
isCompoundSelectionMethods 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, visitSubSelectableNodesMethods inherited from interface org.hibernate.query.sqm.tree.SqmNode
asLoggableText, nodeBuilderMethods 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, visitReusablePathsMethods inherited from interface org.hibernate.query.sqm.tree.select.SqmSelectableNode
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.tree.SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmVisitableNode
toHqlStringMethods inherited from interface jakarta.persistence.TupleElement
getAlias
-
Constructor Details
-
Method Details
-
copy
-
getPluralAttribute
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement<C>- Specified by:
getJavaTypeDescriptorin interfaceSqmPath<C>- Overrides:
getJavaTypeDescriptorin classAbstractSqmExpression<C>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation -
resolvePathPart
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) -
type
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.- Specified by:
treatAsin interfaceJpaPath<C>- Specified by:
treatAsin interfaceSqmPath<C>- Overrides:
treatAsin classAbstractSqmPath<C>- Throws:
PathException
-
treatAs
public <S extends C> SqmTreatedEntityValuedSimplePath<C,S> treatAs(EntityDomainType<S> treatTarget) throws PathException Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting.- Specified by:
treatAsin interfaceJpaPath<C>- Specified by:
treatAsin interfaceSqmPath<C>- Overrides:
treatAsin classAbstractSqmPath<C>- Throws:
PathException
-