Class ColumnAggregation

java.lang.Object
io.deephaven.web.client.api.agg.Aggregation
io.deephaven.web.client.api.agg.ColumnAggregation
Direct Known Subclasses:
AbsSum, ApproxPercentile, Avg, CountDistinct, Distinct, First, Freeze, Group, Last, Max, Median, Min, Percentile, SortedFirst, SortedLast, Std, Sum, TDigest, Unique, Var, WAvg, WSum

@JsType(namespace="dh.agg") public sealed class ColumnAggregation extends Aggregation permits AbsSum, ApproxPercentile, Avg, CountDistinct, Distinct, First, Freeze, Group, Last, Max, Median, Min, Percentile, SortedFirst, SortedLast, Std, Sum, TDigest, Unique, Var, WAvg, WSum
Base type for aggregations that operate on columns via an AggSpec and optional input/output column match-pair mappings. When used with aggAllBy, the columns field is ignored and the spec is applied to every non-key column. When used with aggBy, the columns field specifies which columns to aggregate, and may include renaming expressions such as "Out = In".

In an aggBy call, columns must name at least one column. The server rejects a null or empty list.

  • Field Details

    • columns

      public @JsNullable elemental2.core.ReadonlyArray<JsTable.MatchPairUnion> columns
      The columns to aggregate, which can be renaming expressions such as "Out = In". Required and non-empty in aggBy. Ignored in aggAllBy.
  • Constructor Details

    • ColumnAggregation

      public ColumnAggregation()