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) EntityValuedPathInterpretation(Expression sqlExpression, NavigablePath navigablePath, TableGroup tableGroup, EntityValuedModelPart mapping, @Nullable String affectedTableName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) voidapplySqlSelections(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) @Nullable StringThe type for this expressionvoidvisitColumnReferences(Consumer<ColumnReference> columnReferenceConsumer) Methods inherited from class org.hibernate.query.sqm.sql.internal.AbstractSqmPathInterpretation
createDomainResult, 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, getColumnReference
-
Constructor Details
-
Method Details
-
from
public static <T> EntityValuedPathInterpretation<T> from(SqmEntityValuedSimplePath<T> sqmPath, MappingModelExpressible<?> inferredMapping, SqmToSqlAstConverter sqlAstCreationState) -
getSqlExpression
- Specified by:
getSqlExpressionin interfaceSqmPathInterpretation<T>
-
getAffectedTableName
- Specified by:
getAffectedTableNamein interfaceSqmPathInterpretation<T>
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-
getColumnReferences
- Specified by:
getColumnReferencesin interfaceAssignable
-
visitColumnReferences
- Specified by:
visitColumnReferencesin interfaceAssignable
-
getSqlTuple
- Specified by:
getSqlTuplein interfaceSqlTupleContainer
-
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>- Overrides:
applySqlSelectionsin classAbstractSqmPathInterpretation<T>
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression- Specified by:
getExpressionTypein interfaceSqmPathInterpretation<T>- Overrides:
getExpressionTypein classAbstractSqmPathInterpretation<T>
-