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
SqmPathInterpretation and DomainResultProducer implementation for entity discriminator
-
Constructor Summary
ConstructorsConstructorDescriptionDiscriminatorPathInterpretation
(NavigablePath navigablePath, DiscriminatorMapping mapping, TableGroup tableGroup, SqlAstCreationState sqlAstCreationState) DiscriminatorPathInterpretation
(NavigablePath navigablePath, EntityMappingType mapping, TableGroup tableGroup, SqlAstCreationState sqlAstCreationState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) createDomainResult
(String resultVariable, DomainResultCreationState creationState) Produce the domain querystatic SqmPathInterpretation<?>
from
(DiscriminatorSqmPath<?> path, SqmToSqlAstConverter converter) The type for this expressionMethods 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 Details
-
Method Details
-
from
public static SqmPathInterpretation<?> from(DiscriminatorSqmPath<?> path, SqmToSqlAstConverter converter) -
getDiscriminatorMapping
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
- Specified by:
getExpressionType
in interfaceSqmPathInterpretation<T>
- Overrides:
getExpressionType
in classAbstractSqmPathInterpretation<T>
-
createDomainResult
public DomainResult<T> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducer
Produce the domain query- Specified by:
createDomainResult
in interfaceDomainResultProducer<T>
- Overrides:
createDomainResult
in classAbstractSqmPathInterpretation<T>
-
accept
-