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

public Class SqmEntityValuedSimplePath<T>

extends AbstractSqmSimplePath<T>
Class Inheritance
Known Direct Subclasses
org.hibernate.query.sqm.tree.domain.SqmTreatedSimplePath, org.hibernate.query.sqm.tree.domain.NonAggregatedCompositeSimplePath
Imports
org.hibernate.metamodel.model.domain.EntityDomainType, org.hibernate.spi.NavigablePath, org.hibernate.query.PathException, org.hibernate.query.hql.spi.SqmCreationState, org.hibernate.query.sqm.NodeBuilder, .SemanticQueryWalker, .SqmPathSource, org.hibernate.query.sqm.tree.SqmCopyContext

Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
SqmEntityValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, NodeBuilder nodeBuilder)

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 SqmEntityValuedSimplePath<T>
public SqmPathSource<T>
public SqmPath<?>
public <S extends T> SqmTreatedSimplePath<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.AbstractSqmSimplePath:
appendHqlStringgetModelgetReferencedPathSource

Constructor Detail

SqmEntityValuedSimplePathback to summary
public SqmEntityValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, NodeBuilder nodeBuilder)

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
copyback to summary
public SqmEntityValuedSimplePath<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
getNodeTypeback to summary
public SqmPathSource<T> 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
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> SqmTreatedSimplePath<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