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

public abstract Class AbstractSqmSimplePath<T>

extends AbstractSqmPath<T>
implements SqmSimplePath<T>
Class Inheritance
All Implemented Interfaces
org.hibernate.query.sqm.tree.domain.SqmSimplePath, 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
Known Direct Subclasses
org.hibernate.query.sqm.tree.domain.SqmAnyValuedSimplePath, org.hibernate.query.sqm.tree.domain.SqmBasicValuedSimplePath, org.hibernate.query.sqm.tree.domain.SqmEmbeddedValuedSimplePath, org.hibernate.query.sqm.tree.domain.SqmEntityValuedSimplePath, org.hibernate.query.sqm.tree.domain.SqmPluralValuedSimplePath
Imports
org.hibernate.metamodel.model.domain.SingularPersistentAttribute, org.hibernate.spi.NavigablePath, org.hibernate.query.sqm.NodeBuilder, .SqmPathSource

Author
Steve Ebersole

Constructor Summary

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

public
AbstractSqmSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)

Method Summary

Modifier and TypeMethod and Description
public void
public SqmPathSource<T>
getModel()

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

Implements jakarta.persistence.criteria.Path.getModel.

Return the bindable object that corresponds to the path expression.
public SqmPathSource<T>
public SqmPathSource<T>
Inherited from org.hibernate.query.sqm.tree.domain.AbstractSqmPath:
copyTogetgetgetgetgetExplicitAliasgetExpressiblegetLhsgetNavigablePathgetNavigablePathCopygetResolvedModelgetReusablePathgetReusablePathsgetTreatedPathregisterReusablePathresolvePathresolvePathsetExplicitAliastoStringtypevisitReusablePaths

Constructor Detail

AbstractSqmSimplePathback to summary
public AbstractSqmSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, NodeBuilder nodeBuilder)
AbstractSqmSimplePathback to summary
public AbstractSqmSimplePath(NavigablePath navigablePath, SqmPathSource<T> referencedPathSource, SqmPath<?> lhs, String explicitAlias, NodeBuilder nodeBuilder)

Method Detail

appendHqlStringback to summary
public void appendHqlString(StringBuilder sb)

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

Annotations
@Override
getModelback to summary
public SqmPathSource<T> getModel()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmPath.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:SqmPathSource<T>

bindable object corresponding to the path

Annotations
@Override
getNodeTypeback to summary
public SqmPathSource<T> getNodeType()

Overrides org.hibernate.query.sqm.tree.domain.AbstractSqmPath.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.AbstractSqmPath.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