Class ExpressionDomainResultProducer
java.lang.Object
org.hibernate.query.sqm.mutation.internal.ExpressionDomainResultProducer
- All Implemented Interfaces:
DomainResultProducer<Object>,SqlSelectionProducer,Expression,SqlAstNode
public class ExpressionDomainResultProducer
extends Object
implements DomainResultProducer<Object>, Expression
A wrapper around a basic
Expression that produces a BasicResult as domain result.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) voidapplySqlSelections(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.createDomainResult(String resultVariable, DomainResultCreationState creationState) Produce the domain queryThe type for this expressionMethods 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
-
ExpressionDomainResultProducer
-
-
Method Details
-
createDomainResult
public DomainResult<Object> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer<Object>
-
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<Object>
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-