Class AggregateColumnWriteExpression
- java.lang.Object
-
- org.hibernate.sql.ast.tree.expression.AggregateColumnWriteExpression
-
- All Implemented Interfaces:
AggregateSupport.AggregateColumnWriteExpression
,SqlSelectionProducer
,Expression
,SqlAstNode
public class AggregateColumnWriteExpression extends Object implements Expression, AggregateSupport.AggregateColumnWriteExpression
-
-
Constructor Summary
Constructors Constructor Description AggregateColumnWriteExpression(ColumnReference aggregateColumnReference, AggregateSupport.WriteExpressionRenderer columnWriter, SelectableMapping[] selectableMappings, Expression[] valueExpressions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
void
appendWriteExpression(SqlAstTranslator<?> translator, SqlAppender appender)
void
appendWriteExpression(SqlAstTranslator<?> translator, SqlAppender appender, String qualifier)
ColumnReference
getAggregateColumnReference()
ColumnReference
getColumnReference()
JdbcMappingContainer
getExpressionType()
The type for this expressionSelectableMapping[]
getSelectableMappings()
Expression
getValueExpression(SelectableMapping selectableMapping)
Returns the value expression to assign to the given selectable mapping, or throws anIllegalArgumentException
when an invalid selectable mapping is passed.Expression[]
getValueExpressions()
-
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, createDomainResultSqlSelection, createSqlSelection, createSqlSelection
-
-
-
-
Constructor Detail
-
AggregateColumnWriteExpression
public AggregateColumnWriteExpression(ColumnReference aggregateColumnReference, AggregateSupport.WriteExpressionRenderer columnWriter, SelectableMapping[] selectableMappings, Expression[] valueExpressions)
-
-
Method Detail
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
getColumnReference
public ColumnReference getColumnReference()
- Specified by:
getColumnReference
in interfaceExpression
-
getAggregateColumnReference
public ColumnReference getAggregateColumnReference()
-
getSelectableMappings
public SelectableMapping[] getSelectableMappings()
-
getValueExpressions
public Expression[] getValueExpressions()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
-
getValueExpression
public Expression getValueExpression(SelectableMapping selectableMapping)
Description copied from interface:AggregateSupport.AggregateColumnWriteExpression
Returns the value expression to assign to the given selectable mapping, or throws anIllegalArgumentException
when an invalid selectable mapping is passed.- Specified by:
getValueExpression
in interfaceAggregateSupport.AggregateColumnWriteExpression
-
appendWriteExpression
public void appendWriteExpression(SqlAstTranslator<?> translator, SqlAppender appender)
-
appendWriteExpression
public void appendWriteExpression(SqlAstTranslator<?> translator, SqlAppender appender, String qualifier)
-
-