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

public Class SqmPluralValuedSimplePath<E>

extends AbstractSqmSimplePath<E>
Class Inheritance
Type Parameters
<E>
The collection element type, which is the "bindable" type in the SQM tree
Imports
org.hibernate.metamodel.mapping.CollectionPart, org.hibernate.metamodel.model.domain.EntityDomainType, .ListPersistentAttribute, .MapPersistentAttribute, .PluralPersistentAttribute, org.hibernate.query.NotIndexedCollectionException, .PathException, org.hibernate.spi.NavigablePath, org.hibernate.query.hql.spi.SqmCreationState, .SqmPathRegistry, org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, org.hibernate.query.sqm.tree.SqmCopyContext, .SqmJoinType, org.hibernate.query.sqm.tree.expression.SqmExpression, org.hibernate.query.sqm.tree.from.SqmFrom, .SqmQualifiedJoin

An SqmPath for plural attribute paths
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?, ?, E> referencedNavigable, SqmPath<?> lhs, NodeBuilder nodeBuilder)

public
SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?, ?, E> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)

Method Summary

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

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

Accept the walker per visitation
public SqmPluralValuedSimplePath<E>
public PluralPersistentAttribute<?, ?, E>
getModel()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath.getModel.

Implements jakarta.persistence.criteria.Path.getModel.

Return the bindable object that corresponds to the path expression.
public PluralPersistentAttribute<?, ?, E>
public PluralPersistentAttribute<?, ?, E>
public SqmPath<?>
public SqmPath<?>
public <S extends E> SqmTreatedSimplePath<E, 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 E> SqmTreatedPath<E, 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.AbstractSqmSimplePath:
appendHqlString

Constructor Detail

SqmPluralValuedSimplePathback to summary
public SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?, ?, E> referencedNavigable, SqmPath<?> lhs, NodeBuilder nodeBuilder)
SqmPluralValuedSimplePathback to summary
public SqmPluralValuedSimplePath(NavigablePath navigablePath, PluralPersistentAttribute<?, ?, E> referencedNavigable, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)

Method Detail

acceptback to summary
public <T> T accept(SemanticQueryWalker<T> 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
copyback to summary
public SqmPluralValuedSimplePath<E> 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
getModelback to summary
public PluralPersistentAttribute<?, ?, E> getModel()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath.getModel.

Implements jakarta.persistence.criteria.Path.getModel.

Doc from jakarta.persistence.criteria.Path.getModel.

Return the bindable object that corresponds to the path expression.

Returns:PluralPersistentAttribute<?, ?, E>

bindable object corresponding to the path

Annotations
@Override
getNodeTypeback to summary
public PluralPersistentAttribute<?, ?, E> getNodeType()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath.getNodeType.

Implements org.hibernate.query.sqm.tree.domain.SqmPath.getNodeType, org.hibernate.query.sqm.tree.expression.SqmExpression.getNodeType, org.hibernate.query.sqm.tree.SqmTypedNode.getNodeType.

Doc from org.hibernate.query.sqm.tree.domain.SqmPath.getNodeType.

This node's type is its "referenced path source"

Annotations
@Override
getReferencedPathSourceback to summary
public PluralPersistentAttribute<?, ?, E> getReferencedPathSource()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmSimplePath.getReferencedPathSource.

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

Doc from org.hibernate.query.sqm.tree.domain.SqmPath.getReferencedPathSource.

The path source that this path refers to (and that most likely created it).

Annotations
@Override
resolveIndexedAccessback to summary
public SqmPath<?> resolveIndexedAccess(SqmExpression<?> selector, boolean isTerminal, SqmCreationState creationState)

Overrides default org.hibernate.query.sqm.tree.domain.SqmPath.resolveIndexedAccess.

Annotations
@Override
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 E> SqmTreatedSimplePath<E, 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 E> SqmTreatedPath<E, 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