Class AbstractSqmPathInterpretation<T>
- java.lang.Object
-
- org.hibernate.query.sqm.sql.internal.AbstractSqmPathInterpretation<T>
-
- All Implemented Interfaces:
DomainResultProducer<T>,SqmPathInterpretation<T>,SqlSelectionProducer,Expression,SqlAstNode
- Direct Known Subclasses:
AnyDiscriminatorPathInterpretation,BasicValuedPathInterpretation,DiscriminatedAssociationPathInterpretation,DiscriminatorPathInterpretation,EmbeddableValuedPathInterpretation,EntityValuedPathInterpretation,NonAggregatedCompositeValuedPathInterpretation,PluralValuedSimplePathInterpretation
public abstract class AbstractSqmPathInterpretation<T> extends Object implements SqmPathInterpretation<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractSqmPathInterpretation(NavigablePath navigablePath, ModelPart mapping, TableGroup tableGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplySqlSelections(DomainResultCreationState creationState)Used when this producer is a selection in a sub-query.DomainResult<T>createDomainResult(String resultVariable, DomainResultCreationState creationState)Produce the domain queryModelPartgetExpressionType()The type for this expressionNavigablePathgetNavigablePath()TableGroupgetTableGroup()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createDomainResultSqlSelection, createSqlSelection, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.sql.ast.tree.SqlAstNode
accept
-
Methods inherited from interface org.hibernate.query.sqm.sql.internal.SqmPathInterpretation
getSqlExpression
-
-
-
-
Constructor Detail
-
AbstractSqmPathInterpretation
public AbstractSqmPathInterpretation(NavigablePath navigablePath, ModelPart mapping, TableGroup tableGroup)
-
-
Method Detail
-
getNavigablePath
public NavigablePath getNavigablePath()
- Specified by:
getNavigablePathin interfaceSqmPathInterpretation<T>
-
getExpressionType
public ModelPart getExpressionType()
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression- Specified by:
getExpressionTypein interfaceSqmPathInterpretation<T>
-
getTableGroup
public TableGroup getTableGroup()
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState)
Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer<T>
-
applySqlSelections
public void applySqlSelections(DomainResultCreationState creationState)
Description copied from interface:DomainResultProducerUsed when this producer is a selection in a sub-query. The DomainResult is only needed for root query of a SELECT statement. This default impl assumes this producer is a true (Sql)Expression- Specified by:
applySqlSelectionsin interfaceDomainResultProducer<T>
-
-