Class FloatStaticEMAOperator

All Implemented Interfaces:
ChunkedUpdateByOperator

public class FloatStaticEMAOperator
extends BaseStaticEMAOperator
  • Constructor Details

    • FloatStaticEMAOperator

      public FloatStaticEMAOperator​(@NotNull MatchPair pair, @NotNull EmaControl control, @Nullable LongRecordingUpdateByOperator timeRecorder, long timeScaleUnits)
      An operator that computes an EMA from a float column using an exponential decay function.
      Parameters:
      pair - the MatchPair defining the input and output columns
      control - defines how to handle null input values.
      timeRecorder - an optional recorder for a timestamp column. If this is null, it will be assumed time is measured in integer ticks.
      timeScaleUnits - the smoothing window for the EMA. If no timeRecorder is provided, this is measured