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 TypeMethodDescriptionvoidapplySqlSelections(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, waitMethods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReferenceMethods inherited from interface org.hibernate.sql.ast.tree.SqlAstNode
acceptMethods inherited from interface org.hibernate.query.sqm.sql.internal.SqmPathInterpretation
getAffectedTableName, getSqlExpression
-
Constructor Details
-
Method Details
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression- Specified by:
getExpressionTypein interfaceSqmPathInterpretation<T>
-
getTableGroup
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer<T>
-
applySqlSelections
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>