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>, PluralExpression<C,Object>, Selection<C>, TupleElement<C>, Serializable, JpaCriteriaNode, JpaExpression<C>, JpaPath<C>, JpaPluralExpression<C, Object>, JpaSelection<C>, JpaTupleElement<C>, SemanticPathPart, SqmPath<C>, SqmPluralPath<C, Object>, SqmSimplePath<C>, SqmExpression<C>, SqmSelectableNode<C>, SqmCacheable, SqmExpressibleAccessor<C>, SqmNode, SqmTypedNode<C>, SqmVisitableNode
- Direct Known Subclasses:
SqmPluralPartSelectionPath
public class SqmPluralValuedSimplePath<C>
extends AbstractSqmSimplePath<C>
implements SqmPluralPath<C,Object>
An SqmPath for plural attribute paths
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSqmPluralValuedSimplePath(NavigablePath navigablePath, SqmPluralPersistentAttribute<?, C, ?> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder) SqmPluralValuedSimplePath(NavigablePath navigablePath, SqmPluralPersistentAttribute<?, C, ?> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder, boolean mapAttributeAccess) SqmPluralValuedSimplePath(NavigablePath navigablePath, SqmPluralPersistentAttribute<?, C, ?> referencedNavigable, SqmPath<?> lhs, NodeBuilder nodeBuilder) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(SemanticQueryWalker<T> walker) Accept the walker per visitationcontains(Expression elem) copy(SqmCopyContext context) isEmpty()booleannotContains(Expression elem) notContains(Object elem) SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState) size()<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 AbstractSqmSimplePath
appendHqlString, getLhs, getModel, getNodeType, getParentNavigablePath, getReferencedPathSourceMethods inherited from class AbstractSqmPath
cacheHashCode, copyTo, equals, get, get, get, get, get, get, get, get, get, get, getExplicitAlias, getExpressible, getNavigablePath, getNavigablePathCopy, getNodeJavaType, getResolvedModel, getReusablePath, getReusablePaths, getTreatedPath, hashCode, isCompatible, registerReusablePath, resolvePath, resolvePath, setExplicitAlias, toString, treatAs, treatAs, treatAs, treatAs, visitReusablePathsMethods inherited from class AbstractSqmExpression
applyInferableType, as, cast, coalesce, coalesce, count, countDistinct, equalTo, equalTo, in, in, in, in, in, internalApplyInferableType, isMember, isNotMember, isNotNull, isNull, nodeBuilder, notEqualTo, notEqualTo, nullif, nullif, selectCase, selectCaseMethods inherited from class AbstractJpaSelection
alias, getSelectionItems, isCompoundSelectionMethods inherited from class AbstractJpaTupleElement
copyTo, getAlias, setAlias, setExpressibleTypeMethods inherited from interface JpaExpression
coalesce, coalesce, count, countDistinct, in, isMember, isNotMember, nullif, nullif, selectCase, selectCaseMethods inherited from interface JpaPath
getParentPath, treatMethods inherited from interface JpaSelection
alias, getCompoundSelectionItems, getSelectionItemsMethods inherited from interface JpaTupleElement
getJavaType, getJavaTypeName, isEnumMethods inherited from interface Selection
isCompoundSelectionMethods inherited from interface SqmCacheable
cacheHashCode, isCompatibleMethods inherited from interface 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 SqmNode
asLoggableText, nodeBuilderMethods inherited from interface SqmPath
applyInferableType, findRoot, get, get, get, get, get, getExplicitAlias, getLhs, getNavigablePath, getNodeType, getReferencedPathSource, getResolvedModel, getReusablePath, getReusablePaths, registerReusablePath, setExplicitAlias, treatAs, treatAs, treatAs, treatAs, visitReusablePathsMethods inherited from interface SqmSelectableNode
getTupleLengthMethods inherited from interface SqmTypedNode
getExpressible, getNodeJavaTypeMethods inherited from interface SqmVisitableNode
appendHqlString, toHqlStringMethods inherited from interface TupleElement
getAlias
-
Constructor Details
-
Method Details
-
copy
- Specified by:
copyin interfaceSqmExpression<C>- Specified by:
copyin interfaceSqmNode- Specified by:
copyin interfaceSqmPath<C>- Specified by:
copyin interfaceSqmSelectableNode<C>- Specified by:
copyin interfaceSqmTypedNode<C>
-
isMapAttributeAccess
public boolean isMapAttributeAccess() -
getPluralAttribute
-
getJavaTypeDescriptor
- Specified by:
getJavaTypeDescriptorin interfaceJpaTupleElement<C>- Specified by:
getJavaTypeDescriptorin interfaceSqmPath<C>- Overrides:
getJavaTypeDescriptorin classAbstractSqmPath<C>
-
accept
Description copied from interface:SqmVisitableNodeAccept the walker per visitation- Specified by:
acceptin interfaceSqmVisitableNode
-
resolvePathPart
- Specified by:
resolvePathPartin interfaceSemanticPathPart- Specified by:
resolvePathPartin interfaceSqmPath<C>
-
resolveIndexedAccess
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState) - Specified by:
resolveIndexedAccessin interfaceSemanticPathPart- Specified by:
resolveIndexedAccessin interfaceSqmPath<C>
-
type
-
treatAs
Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
treatAs
@Nonnull public <S extends C> SqmTreatedEntityValuedSimplePath<C,S> treatAs(@Nonnull EntityDomainType<S> treatTarget) Description copied from interface:JpaPathSupport for JPA's explicit (TREAT) down-casting. -
isEmpty
- Specified by:
isEmptyin interfaceJpaPluralExpression<C,Object> - Specified by:
isEmptyin interfacePluralExpression<C,Object>
-
isNotEmpty
- Specified by:
isNotEmptyin interfaceJpaPluralExpression<C,Object> - Specified by:
isNotEmptyin interfacePluralExpression<C,Object>
-
size
- Specified by:
sizein interfaceJpaPluralExpression<C,Object> - Specified by:
sizein interfacePluralExpression<C,Object>
-
notContains
- Specified by:
notContainsin interfaceJpaPluralExpression<C,Object> - Specified by:
notContainsin interfacePluralExpression<C,Object>
-
notContains
- Specified by:
notContainsin interfaceJpaPluralExpression<C,Object> - Specified by:
notContainsin interfacePluralExpression<C,Object>
-
contains
- Specified by:
containsin interfaceJpaPluralExpression<C,Object> - Specified by:
containsin interfacePluralExpression<C,Object>
-
contains
- Specified by:
containsin interfaceJpaPluralExpression<C,Object> - Specified by:
containsin interfacePluralExpression<C,Object>
-