Class SqlTuple
java.lang.Object
org.hibernate.sql.ast.tree.expression.SqlTuple
- All Implemented Interfaces:
DomainResultProducer,SqlSelectionProducer,Expression,SqlTupleContainer,SqlAstNode,Assignable
public class SqlTuple
extends Object
implements Expression, SqlTupleContainer, DomainResultProducer, Assignable
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSqlTuple(List<? extends Expression> expressions, MappingModelExpressible<?> valueMapping) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SqlAstWalker sqlTreeWalker) voidapplySqlSelections(DomainResultCreationState creationState) Used when this producer is a selection in a sub-query.DomainResult<?> createDomainResult(String resultVariable, DomainResultCreationState creationState) Produce the domain queryList<? extends Expression> The 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.update.Assignable
visitColumnReferencesMethods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
-
Constructor Details
-
SqlTuple
-
-
Method Details
-
getExpressionType
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
getExpressions
-
getColumnReferences
- Specified by:
getColumnReferencesin interfaceAssignable
-
accept
- Specified by:
acceptin interfaceSqlAstNode
-
getSqlTuple
- Specified by:
getSqlTuplein interfaceSqlTupleContainer
-
createDomainResult
public DomainResult<?> createDomainResult(String resultVariable, DomainResultCreationState creationState) Description copied from interface:DomainResultProducerProduce the domain query- Specified by:
createDomainResultin interfaceDomainResultProducer
-
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
-