Class FloatEMOperator


public class FloatEMOperator extends BasePrimitiveEMOperator
  • Constructor Details

    • FloatEMOperator

      public FloatEMOperator(@NotNull @NotNull MatchPair pair, @NotNull @NotNull String[] affectingColumns, @NotNull @NotNull OperationControl control, @Nullable @Nullable String timestampColumnName, double windowScaleUnits, @NotNull @NotNull BasePrimitiveEMOperator.EmFunction aggFunction)
      An operator that computes an EMA from a float column using an exponential decay function.
      Parameters:
      pair - the MatchPair that defines the input/output for this operation
      affectingColumns - the names of the columns that affect this ema
      control - defines how to handle null input values.
      timestampColumnName - the name of the column containing timestamps for time-based calcuations
      windowScaleUnits - the smoothing window for the EMA. If no timestampColumnName is provided, this is measured in ticks, otherwise it is measured in nanoseconds
  • Method Details