Package org.hibernate.query.sqm.sql
Class AggregateColumnAssignmentHandler
- java.lang.Object
-
- org.hibernate.query.sqm.sql.AggregateColumnAssignmentHandler
-
public class AggregateColumnAssignmentHandler extends Object
Handler for assignments to sub-columns of an aggregate column, which require a special write expression. It receives a callback for all assignments and records the positions of the assignments that belong to an aggregate whereEmbeddableMappingType.requiresAggregateColumnWriter()
istrue
. In a single post-processing step it replaces individual assignments with a single aggregate assignment.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAssignment(int position, ColumnReference columnReference)
void
aggregateAssignments(ArrayList<Assignment> assignments)
-
-
-
Method Detail
-
addAssignment
public void addAssignment(int position, ColumnReference columnReference)
-
aggregateAssignments
public void aggregateAssignments(ArrayList<Assignment> assignments)
-
-