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 where EmbeddableMappingType.requiresAggregateColumnWriter() is true. In a single post-processing step it replaces individual assignments with a single aggregate assignment.
  • Method Details

    • addAssignment

      public void addAssignment(int position, ColumnReference columnReference)
    • aggregateAssignments

      public void aggregateAssignments(ArrayList<Assignment> assignments)