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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ColumnNamecolumn()booleanWhether group-by columns (sometimes referred to as "key" columns) should be included in the output sub-tables.static Partitionof(ColumnName name) static Partitionof(ColumnName name, boolean includeGroupByColumns) static Partitionstatic Partitionfinal <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:AggregationGlue method to deliver this Aggregation to aAggSpec.Visitor.- Specified by:
walkin interfaceAggregation- Parameters:
visitor- The visitor- Returns:
- The visitor
-