Package io.deephaven.web.client.api.agg
Class AggByOptions
java.lang.Object
io.deephaven.web.client.api.agg.AggByOptions
Options to control a call to
JsTableOperations.aggBy(AggByOptions).-
Field Summary
FieldsModifier and TypeFieldDescriptionelemental2.core.ReadonlyArray<AggregationUnion> The aggregations to apply@JsNullable elemental2.core.ReadonlyArray<Column.ColumnOrName> The columns to group by.@JsNullable JsTableReferenceAn optional table whose distinct combinations of values for thegroupByColumnsshould be used to create an initial set of aggregation groups.@JsNullable BooleanWhether to keep result rows for groups that are initially empty or become empty as a result of updates. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
aggregations
The aggregations to apply -
preserveEmpty
Whether to keep result rows for groups that are initially empty or become empty as a result of updates. Each aggregation operator defines its own values for empty groups. Defaults tofalseif unspecified. -
initialGroups
An optional table whose distinct combinations of values for thegroupByColumnsshould be used to create an initial set of aggregation groups. All other columns are ignored.The aggregation uses only the initial state of this table and ignores later updates.
-
groupByColumns
The columns to group by. Must be specified ifinitialGroupsis non-null. If empty or unspecified, the result is a single group containing all rows in the table.
-
-
Constructor Details
-
AggByOptions
public AggByOptions()
-