Class EntityValuedPathInterpretation<T>
java.lang.Object
org.hibernate.query.sqm.sql.internal.AbstractSqmPathInterpretation<T>
org.hibernate.query.sqm.sql.internal.EntityValuedPathInterpretation<T>
- All Implemented Interfaces:
DomainResultProducer<T>
,SqmPathInterpretation<T>
,SqlSelectionProducer
,Expression
,SqlTupleContainer
,SqlAstNode
,Assignable
public class EntityValuedPathInterpretation<T>
extends AbstractSqmPathInterpretation<T>
implements SqlTupleContainer, Assignable
-
Constructor Summary
ConstructorsConstructorDescriptionEntityValuedPathInterpretation
(Expression sqlExpression, NavigablePath navigablePath, TableGroup tableGroup, EntityValuedModelPart mapping) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) void
applySqlSelections
(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.static <T> EntityValuedPathInterpretation<T>
from
(SqmEntityValuedSimplePath<T> sqmPath, MappingModelExpressible<?> inferredMapping, SqmToSqlAstConverter sqlAstCreationState) static <T> EntityValuedPathInterpretation<T>
from
(NavigablePath navigablePath, TableGroup tableGroup, ModelPart resultModelPart, EntityValuedModelPart mapping, EntityValuedModelPart treatedMapping, SqmToSqlAstConverter sqlAstCreationState) The type for this expressionvoid
visitColumnReferences
(Consumer<ColumnReference> columnReferenceConsumer) Methods inherited from class org.hibernate.query.sqm.sql.internal.AbstractSqmPathInterpretation
createDomainResult, 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
-
Constructor Details
-
Method Details
-
from
public static <T> EntityValuedPathInterpretation<T> from(SqmEntityValuedSimplePath<T> sqmPath, MappingModelExpressible<?> inferredMapping, SqmToSqlAstConverter sqlAstCreationState) -
getSqlExpression
- Specified by:
getSqlExpression
in interfaceSqmPathInterpretation<T>
-
accept
- Specified by:
accept
in interfaceSqlAstNode
-
getColumnReferences
- Specified by:
getColumnReferences
in interfaceAssignable
-
visitColumnReferences
- Specified by:
visitColumnReferences
in interfaceAssignable
-
getSqlTuple
- Specified by:
getSqlTuple
in interfaceSqlTupleContainer
-
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>
- Overrides:
applySqlSelections
in classAbstractSqmPathInterpretation<T>
-
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>
-