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
ConstructorsConstructorDescriptionAbstractSqmPathInterpretation
(NavigablePath navigablePath, ModelPart mapping, TableGroup tableGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applySqlSelections
(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.createDomainResult
(String resultVariable, DomainResultCreationState creationState) Produce the domain queryThe type for this expressionMethods 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, 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 Details
-
Method Details
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
- Specified by:
getExpressionType
in interfaceSqmPathInterpretation<T>
-
getTableGroup
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducer
Produce the domain query- Specified by:
createDomainResult
in interfaceDomainResultProducer<T>
-
applySqlSelections
Description copied from interface:DomainResultProducer
Used 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:
applySqlSelections
in interfaceDomainResultProducer<T>