Class BasePrimitiveEmStdOperator

Direct Known Subclasses:
ByteEmStdOperator, CharEmStdOperator, DoubleEmStdOperator, FloatEmStdOperator, IntEmStdOperator, LongEmStdOperator, ShortEmStdOperator

public abstract class BasePrimitiveEmStdOperator extends BaseDoubleUpdateByOperator
  • Field Details

    • control

      protected final OperationControl control
    • reverseWindowScaleUnits

      protected final double reverseWindowScaleUnits
      For EM operators, we can allow floating-point tick/time units.
    • opAlpha

      protected final double opAlpha
    • valueSource

      protected ColumnSource<?> valueSource
    • opOneMinusAlpha

      protected double opOneMinusAlpha
    • emaSource

      protected WritableColumnSource<Double> emaSource
    • maybeEmaInnerSource

      protected WritableColumnSource<Double> maybeEmaInnerSource
  • Constructor Details

    • BasePrimitiveEmStdOperator

      public BasePrimitiveEmStdOperator(@NotNull @NotNull MatchPair pair, @NotNull @NotNull String[] affectingColumns, @NotNull @NotNull OperationControl control, @Nullable @Nullable String timestampColumnName, double windowScaleUnits)
      An operator that computes an EM Std output from an input 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 - the control parameters for EM operator
      timestampColumnName - an optional timestamp column. If this is null, it will be assumed time is measured in integer ticks.
      windowScaleUnits - the smoothing window for the EM operator. If no timestampColumnName is provided, this is measured in ticks, otherwise it is measured in nanoseconds.
  • Method Details