Class BasePrimitiveEMOperator

Direct Known Subclasses:
ByteEMOperator, CharEMOperator, DoubleEMOperator, FloatEMOperator, IntEMOperator, LongEMOperator, ShortEMOperator

public abstract class BasePrimitiveEMOperator 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
  • Constructor Details

    • BasePrimitiveEMOperator

      public BasePrimitiveEMOperator(@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 EM 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