Package io.deephaven.web.client.api.tree
Class JsRollupConfig
java.lang.Object
io.deephaven.web.client.api.tree.JsRollupConfig
Describes a grouping and aggregations for a roll-up table. Pass to the
Table.rollup function to create a
roll-up table.-
Field Summary
FieldsModifier and TypeFieldDescriptionjsinterop.base.JsPropertyMap<elemental2.core.JsArray<String>> Mapping from each aggregation name to the ordered list of columns it should be applied to in the resulting roll-up table.elemental2.core.JsArray<elemental2.core.JsString> Ordered list of columns to group by to form the hierarchy of the resulting roll-up table.booleanOptional parameter indicating if an extra leaf node should be added at the bottom of the hierarchy, showing the rows in the underlying table which make up that grouping.booleanOptional parameter indicating if original column descriptions should be included.@jsinterop.annotations.JsNullable boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
groupingColumns
public elemental2.core.JsArray<elemental2.core.JsString> groupingColumnsOrdered list of columns to group by to form the hierarchy of the resulting roll-up table. -
aggregations
Mapping from each aggregation name to the ordered list of columns it should be applied to in the resulting roll-up table. -
includeConstituents
public boolean includeConstituentsOptional parameter indicating if an extra leaf node should be added at the bottom of the hierarchy, showing the rows in the underlying table which make up that grouping. Since these values might be a different type from the rest of the column, any client code must check ifTreeRow.hasChildren=false, and if so, interpret those values as if they wereColumn.constituentTypeinstead ofColumn.type. Defaults tofalse. -
includeOriginalColumns
public @jsinterop.annotations.JsNullable boolean includeOriginalColumns -
includeDescriptions
public boolean includeDescriptionsOptional parameter indicating if original column descriptions should be included. Defaults totrue.
-
-
Constructor Details
-
JsRollupConfig
@JsConstructor public JsRollupConfig() -
JsRollupConfig
-
-
Method Details
-
buildRequest
-