Class SqmParameterInterpretation
java.lang.Object
org.hibernate.query.sqm.sql.internal.SqmParameterInterpretation
- All Implemented Interfaces:
DomainResultProducer
,SqlSelectionProducer
,Expression
,SqlTupleContainer
,SqlAstNode
public class SqmParameterInterpretation
extends Object
implements Expression, DomainResultProducer, SqlTupleContainer
-
Constructor Summary
ConstructorsConstructorDescriptionSqmParameterInterpretation
(List<JdbcParameter> jdbcParameters, MappingModelExpressible<?> valueMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) void
applySqlSelections
(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.DomainResult<?>
createDomainResult
(String resultVariable, DomainResultCreationState creationState) Produce the domain queryThe type for this expressionresolveSqlSelection
(DomainResultCreationState creationState) 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
-
SqmParameterInterpretation
public SqmParameterInterpretation(List<JdbcParameter> jdbcParameters, MappingModelExpressible<?> valueMapping)
-
-
Method Details
-
getResolvedExpression
-
accept
- Specified by:
accept
in interfaceSqlAstNode
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
createDomainResult
public DomainResult<?> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducer
Produce the domain query- Specified by:
createDomainResult
in interfaceDomainResultProducer
-
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
-
resolveSqlSelection
-