Class DiscriminatorPathInterpretation<T>
- java.lang.Object
-
- org.hibernate.query.sqm.sql.internal.AbstractSqmPathInterpretation<T>
-
- org.hibernate.query.sqm.sql.internal.DiscriminatorPathInterpretation<T>
-
- All Implemented Interfaces:
DomainResultProducer<T>,SqmPathInterpretation<T>,SqlSelectionProducer,Expression,SqlAstNode
public class DiscriminatorPathInterpretation<T> extends AbstractSqmPathInterpretation<T>
SqmPathInterpretation and DomainResultProducer implementation for entity discriminator
-
-
Constructor Summary
Constructors Constructor Description DiscriminatorPathInterpretation(NavigablePath navigablePath, DiscriminatorMapping mapping, TableGroup tableGroup, SqlAstCreationState sqlAstCreationState)DiscriminatorPathInterpretation(NavigablePath navigablePath, EntityMappingType mapping, TableGroup tableGroup, SqlAstCreationState sqlAstCreationState)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SqlAstWalker sqlTreeWalker)DomainResult<T>createDomainResult(String resultVariable, DomainResultCreationState creationState)Produce the domain querystatic SqmPathInterpretation<?>from(DiscriminatorSqmPath<?> path, SqmToSqlAstConverter converter)EntityDiscriminatorMappinggetDiscriminatorMapping()EntityDiscriminatorMappinggetExpressionType()The type for this expression-
Methods inherited from class org.hibernate.query.sqm.sql.internal.AbstractSqmPathInterpretation
applySqlSelections, getNavigablePath, getTableGroup
-
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, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.query.sqm.sql.internal.SqmPathInterpretation
getSqlExpression
-
-
-
-
Constructor Detail
-
DiscriminatorPathInterpretation
public DiscriminatorPathInterpretation(NavigablePath navigablePath, DiscriminatorMapping mapping, TableGroup tableGroup, SqlAstCreationState sqlAstCreationState)
-
DiscriminatorPathInterpretation
public DiscriminatorPathInterpretation(NavigablePath navigablePath, EntityMappingType mapping, TableGroup tableGroup, SqlAstCreationState sqlAstCreationState)
-
-
Method Detail
-
from
public static SqmPathInterpretation<?> from(DiscriminatorSqmPath<?> path, SqmToSqlAstConverter converter)
-
getDiscriminatorMapping
public EntityDiscriminatorMapping getDiscriminatorMapping()
-
getExpressionType
public EntityDiscriminatorMapping getExpressionType()
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression- Specified by:
getExpressionTypein interfaceSqmPathInterpretation<T>- Overrides:
getExpressionTypein classAbstractSqmPathInterpretation<T>
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState)
Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer<T>- Overrides:
createDomainResultin classAbstractSqmPathInterpretation<T>
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
-
-