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

public Class SqmBasicValuedSimplePath<T>

extends AbstractSqmSimplePath<T>
implements SqmExpressible<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.SqmExpressible, org.hibernate.query.BindableType
Imports
org.hibernate.metamodel.model.domain.DomainType, .EntityDomainType, org.hibernate.query.sqm.UnknownPathException, .NodeBuilder, .SemanticQueryWalker, .SqmExpressible, .SqmPathSource, org.hibernate.spi.NavigablePath, org.hibernate.query.PathException, org.hibernate.query.hql.spi.SqmCreationState, org.hibernate.query.sqm.tree.SqmCopyContext, org.hibernate.type.descriptor.java.BasicJavaType, .JavaType

Author
Steve Ebersole

Constructor Summary

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

public
SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, String explicitAlias, 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 SqmBasicValuedSimplePath<T>
public Class<T>
public SqmExpressible<T>
public JavaType<T>
getExpressibleJavaType()

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible
public Class<T>
getJavaType()

Overrides default org.hibernate.query.criteria.JpaTupleElement.getJavaType.

Implements jakarta.persistence.TupleElement.getJavaType.

Return the Java type of the tuple element.
public BasicJavaType<T>
public SqmPathSource<T>
public SqmPathSource<T>
public DomainType<T>
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.AbstractSqmSimplePath:
appendHqlStringgetModel

Constructor Detail

SqmBasicValuedSimplePathback to summary
public SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, NodeBuilder nodeBuilder)
SqmBasicValuedSimplePathback to summary
public SqmBasicValuedSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, String explicitAlias, 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 SqmBasicValuedSimplePath<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
getBindableJavaTypeback to summary
public Class<T> getBindableJavaType()

Implements org.hibernate.query.BindableType.getBindableJavaType.

Doc from org.hibernate.query.BindableType.getBindableJavaType.

The expected Java type

Annotations
@Override
getExpressibleback to summary
public SqmExpressible<T> getExpressible()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmPath.getExpressible.

Overrides default org.hibernate.query.sqm.tree.SqmTypedNode.getExpressible.

Annotations
@Override
getExpressibleJavaTypeback to summary
public JavaType<T> getExpressibleJavaType()

Implements org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

Doc from org.hibernate.query.sqm.SqmExpressible.getExpressibleJavaType.

The Java type descriptor for this expressible

Annotations
@Override
getJavaTypeback to summary
public Class<T> getJavaType()

Overrides default org.hibernate.query.criteria.JpaTupleElement.getJavaType.

Implements jakarta.persistence.TupleElement.getJavaType.

Doc from jakarta.persistence.TupleElement.getJavaType.

Return the Java type of the tuple element.

Returns:Class<T>

the Java type of the tuple element

Annotations
@Override
getJavaTypeDescriptorback to summary
public BasicJavaType<T> getJavaTypeDescriptor()

Overrides org.hibernate.query.sqm.tree.expression.AbstractSqmExpression.getJavaTypeDescriptor.

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

Implements org.hibernate.query.criteria.JpaTupleElement.getJavaTypeDescriptor.

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
getReferencedPathSourceback to summary
public SqmPathSource<T> 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
getSqmTypeback to summary
public DomainType<T> getSqmType()

Implements org.hibernate.query.sqm.SqmExpressible.getSqmType.

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> 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