Class Formula

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

@JsType(namespace="dh.agg") public final class Formula extends Aggregation
An aggregation that computes one output column per group from a formula written as "Out = expression". Within the expression, each input column stands for that column's values in the group, as a vector, so the expression applies functions that reduce them, as in "MaxW = max(W)" or "Spread = max(W) - min(W)".
  • Field Details

    • type

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

      public String formula
      The output column's name and the expression that computes it, as "Out = expression".
  • Constructor Details

    • Formula

      public Formula()