Package org.hibernate.query.sqm.sql
Class AggregateColumnAssignmentHandler
java.lang.Object
org.hibernate.query.sqm.sql.AggregateColumnAssignmentHandler
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 where
EmbeddableMappingType.requiresAggregateColumnWriter()
is true
.
In a single post-processing step it replaces individual assignments with a single aggregate assignment.-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAssignment
(int position, ColumnReference columnReference) void
aggregateAssignments
(ArrayList<Assignment> assignments)
-
Method Details
-
addAssignment
-
aggregateAssignments
-