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 TypeMethodDescriptionvoidaccept(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, getTableGroupMethods 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.query.sqm.sql.internal.SqmPathInterpretation
getAffectedTableName, getSqlExpression
-
Constructor Details
-
Method Details
-
from
public static SqmPathInterpretation<?> from(DiscriminatorSqmPath<?> path, SqmToSqlAstConverter converter) -
getDiscriminatorMapping
-
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
-