Class Partition

java.lang.Object
io.deephaven.web.client.api.agg.Aggregation
io.deephaven.web.client.api.agg.Partition

@JsType(namespace="dh.agg") public final class Partition extends Aggregation
Partitions the source table into sub-tables, one per aggregation group, and holds them in a new column with the specified name.

This aggregation is not supported in aggAllBy — use it only with aggBy.

  • Field Details

    • type

      @TsLiteral public final @TsLiteral String type
      See Also:
    • col

      public String col
      The output column name to hold the sub-table for each group.
    • includeGroupByColumns

      public @JsNullable Boolean includeGroupByColumns
      Whether to include the group-by columns in each output sub-table. Defaults to true if not specified.
  • Constructor Details

    • Partition

      public Partition()