Interface AggregationContextFactory

All Known Implementing Classes:
AggregationProcessor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AggregationContextFactory
Produces an AggregationContext for aggregations given a table and the names of the group by columns.
  • Method Details

    • makeAggregationContext

      AggregationContext makeAggregationContext(@NotNull @NotNull Table table, boolean requireStateChangeRecorder, @NotNull @NotNull String... groupByColumns)
      Make an AggregationContext for this aggregation.
      Parameters:
      table - The source Table to aggregate
      requireStateChangeRecorder - Whether the resulting context is required to have an operator that extends StateChangeRecorder
      groupByColumns - The key column names
      Returns:
      A new or safely reusable AggregationContext