Top Fields Constructors Methods
org.hibernate.query.sqm.tree.domain

public Class SqmIndexedCollectionAccessPath<T>

extends AbstractSqmPath<T>
implements SqmPath<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.domain.SqmPath, org.hibernate.query.criteria.JpaPath, jakarta.persistence.criteria.Path, jakarta.persistence.criteria.Expression, jakarta.persistence.criteria.Selection, jakarta.persistence.TupleElement, org.hibernate.query.criteria.JpaExpression, org.hibernate.query.criteria.JpaSelection, org.hibernate.query.criteria.JpaTupleElement, org.hibernate.query.criteria.JpaCriteriaNode, java.io.Serializable, org.hibernate.query.hql.spi.SemanticPathPart, org.hibernate.query.sqm.tree.expression.SqmExpression, org.hibernate.query.sqm.tree.select.SqmSelectableNode, org.hibernate.query.sqm.tree.SqmTypedNode, org.hibernate.query.sqm.tree.SqmVisitableNode, org.hibernate.query.sqm.tree.SqmNode, org.hibernate.query.sqm.tree.SqmExpressibleAccessor
Imports
org.hibernate.metamodel.model.domain.EntityDomainType, .PluralPersistentAttribute, org.hibernate.spi.NavigablePath, org.hibernate.query.PathException, org.hibernate.query.sqm.SemanticQueryWalker, org.hibernate.query.hql.spi.SqmCreationState, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.query.sqm.tree.expression.SqmExpression

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SqmExpression<?>

Constructor Summary

AccessConstructor and Description
public
SqmIndexedCollectionAccessPath(NavigablePath navigablePath, SqmPath<?> pluralDomainPath, SqmExpression<?> selectorExpression)

Method Summary

Modifier and TypeMethod and Description
public <X> X
accept(SemanticQueryWalker<X> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation
public void
public SqmIndexedCollectionAccessPath<T>
public PluralPersistentAttribute<?, ?, T>
public SqmExpression<?>
public SqmPath<?>
public <S extends T> SqmTreatedPath<T, S>
treatAs(Class<S> treatJavaType)

Implements org.hibernate.query.sqm.tree.domain.SqmPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.
public <S extends T> SqmTreatedPath<T, S>
treatAs(EntityDomainType<S> treatTarget)

Implements org.hibernate.query.sqm.tree.domain.SqmPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.
Inherited from org.hibernate.query.sqm.tree.domain.AbstractSqmPath:
copyTogetgetgetgetgetExplicitAliasgetExpressiblegetLhsgetModelgetNavigablePathgetNavigablePathCopygetNodeTypegetReferencedPathSourcegetResolvedModelgetReusablePathgetReusablePathsgetTreatedPathregisterReusablePathresolvePathresolvePathsetExplicitAliastoStringtypevisitReusablePaths

Field Detail

selectorExpressionback to summary
private final SqmExpression<?> selectorExpression

Constructor Detail

SqmIndexedCollectionAccessPathback to summary
public SqmIndexedCollectionAccessPath(NavigablePath navigablePath, SqmPath<?> pluralDomainPath, SqmExpression<?> selectorExpression)

Method Detail

acceptback to summary
public <X> X accept(SemanticQueryWalker<X> walker)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Doc from org.hibernate.query.sqm.tree.SqmVisitableNode.accept.

Accept the walker per visitation

Annotations
@Override
appendHqlStringback to summary
public void appendHqlString(StringBuilder sb)

Implements org.hibernate.query.sqm.tree.SqmVisitableNode.appendHqlString.

Annotations
@Override
copyback to summary
public SqmIndexedCollectionAccessPath<T> copy(SqmCopyContext context)

Implements org.hibernate.query.sqm.tree.domain.SqmPath.copy, org.hibernate.query.sqm.tree.expression.SqmExpression.copy, org.hibernate.query.sqm.tree.select.SqmSelectableNode.copy, org.hibernate.query.sqm.tree.SqmNode.copy.

Annotations
@Override
getPluralAttributeback to summary
public PluralPersistentAttribute<?, ?, T> getPluralAttribute()
getSelectorExpressionback to summary
public SqmExpression<?> getSelectorExpression()
resolvePathPartback to summary
public SqmPath<?> resolvePathPart(String name, boolean isTerminal, SqmCreationState creationState)

Implements org.hibernate.query.sqm.tree.domain.SqmPath.resolvePathPart.

Annotations
@Override
treatAsback to summary
public <S extends T> SqmTreatedPath<T, S> treatAs(Class<S> treatJavaType) throws PathException

Implements org.hibernate.query.sqm.tree.domain.SqmPath.treatAs.

Doc from org.hibernate.query.criteria.JpaPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.

Annotations
@Override
treatAsback to summary
public <S extends T> SqmTreatedPath<T, S> treatAs(EntityDomainType<S> treatTarget) throws PathException

Implements org.hibernate.query.sqm.tree.domain.SqmPath.treatAs.

Doc from org.hibernate.query.criteria.JpaPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.

Annotations
@Override