Package io.deephaven.api.agg
Class Partition
java.lang.Object
io.deephaven.api.agg.Partition
- All Implemented Interfaces:
Aggregation
An
Aggregation
that provides a single output column with sub-tables of the input table for each aggregation
group in the result.
If the input table is refreshing, the sub-tables will be also. Note that the output column will never report
modifications, only additions or removals; users should listen to the sub-tables individually or as a merged result
in order to be notified of sub-table updates. This allows for fine-grained, parallelizable incremental updates, as
distinct from the result of a grouping
column
aggregation
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.api.agg.Aggregation
Aggregation.Visitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ColumnName
column()
boolean
Whether group-by columns (sometimes referred to as "key" columns) should be included in the output sub-tables.static Partition
of
(ColumnName name) static Partition
of
(ColumnName name, boolean includeGroupByColumns) static Partition
static Partition
final <V extends Aggregation.Visitor>
Vwalk
(V visitor) Glue method to deliver this Aggregation to aAggSpec.Visitor
.
-
Constructor Details
-
Partition
public Partition()
-
-
Method Details
-
of
-
of
-
of
-
of
-
column
-
includeGroupByColumns
@Default public boolean includeGroupByColumns()Whether group-by columns (sometimes referred to as "key" columns) should be included in the output sub-tables.- Returns:
- Whether to include group-by columns in the output sub-tables
-
walk
Description copied from interface:Aggregation
Glue method to deliver this Aggregation to aAggSpec.Visitor
.- Specified by:
walk
in interfaceAggregation
- Parameters:
visitor
- The visitor- Returns:
- The visitor
-