Class UpdateByRollingFormula

java.lang.Object
io.deephaven.web.client.api.updateby.UpdateByRollingSpec
io.deephaven.web.client.api.updateby.UpdateByRollingFormula

@JsType(namespace="dh.updateby") public final class UpdateByRollingFormula extends UpdateByRollingSpec
Computes one output column from a formula written as "Out = expression", over each row's window. Within the expression, each input column stands for that column's values in the window, as a vector, so the expression applies functions that reduce them, as in "Total = sum(X)" or "Range = max(X) - min(X)". The UpdateByOptions.groupByColumns are the exception: each stands for the group's single value.
  • 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

    • UpdateByRollingFormula

      public UpdateByRollingFormula()