Class CountWhere

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

@JsType(namespace="dh.agg") public final class CountWhere extends Aggregation
Counts the number of rows matching the given filter expressions within each aggregation group, and writes the count to 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 filtered row count for each group.
    • filters

      public elemental2.core.ReadonlyArray<String> filters
      The filter expression(s) to apply before counting. Only rows matching all filters are counted.
  • Constructor Details

    • CountWhere

      public CountWhere()