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.
Produces an AggregationContext for aggregations given a table and the names of the group by columns.
-
Method Summary
Modifier and TypeMethodDescriptionmakeAggregationContext
(@NotNull Table table, boolean requireStateChangeRecorder, @NotNull String... groupByColumns) Make anAggregationContext
for this aggregation.
-
Method Details
-
makeAggregationContext
AggregationContext makeAggregationContext(@NotNull @NotNull Table table, boolean requireStateChangeRecorder, @NotNull @NotNull String... groupByColumns) Make anAggregationContext
for this aggregation.- Parameters:
table
- The sourceTable
to aggregaterequireStateChangeRecorder
- Whether the resulting context is required to have an operator that extendsStateChangeRecorder
groupByColumns
- The key column names- Returns:
- A new or safely reusable
AggregationContext
-