Class ShortStaticEMAOperator
java.lang.Object
com.illumon.iris.db.v2.updateby.internal.AbstractStaticUpdateByOperator
com.illumon.iris.db.v2.updateby.ema.BaseStaticEMAOperator
com.illumon.iris.db.v2.updateby.ema.ShortStaticEMAOperator
- All Implemented Interfaces:
ChunkedUpdateByOperator
public class ShortStaticEMAOperator extends BaseStaticEMAOperator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.updateby.ChunkedUpdateByOperator
ChunkedUpdateByOperator.BucketedUpdateContext, ChunkedUpdateByOperator.UpdateContext -
Field Summary
Fields inherited from class com.illumon.iris.db.v2.updateby.ema.BaseStaticEMAOperator
control, timeRecorder, timeScaleUnitsFields inherited from interface com.illumon.iris.db.v2.updateby.ChunkedUpdateByOperator
ZERO_LENGTH_OP_ARRAY -
Constructor Summary
Constructors Constructor Description ShortStaticEMAOperator(MatchPair pair, EmaControl control, LongRecordingUpdateByOperator timeRecorder, long timeScaleUnits)An operator that computes an EMA from a short column using an exponential decay function. -
Method Summary
Methods inherited from class com.illumon.iris.db.v2.updateby.ema.BaseStaticEMAOperator
addChunk, addChunk, getInputColumnName, getOutputColumnNames, getOutputColumns, initializeFor, initializeFor, makeBucketedContext, makeUpdateContext, setBucketCapacityMethods inherited from class com.illumon.iris.db.v2.updateby.internal.AbstractStaticUpdateByOperator
anyModified, anyModified, applyShift, finishFor, finishFor, getAdditionalModifications, modifyChunk, removeChunk, setUpstream, setUpstream, startTrackingPrev
-
Constructor Details
-
ShortStaticEMAOperator
public ShortStaticEMAOperator(@NotNull MatchPair pair, @NotNull EmaControl control, @Nullable LongRecordingUpdateByOperator timeRecorder, long timeScaleUnits)An operator that computes an EMA from a short column using an exponential decay function.- Parameters:
pair- theMatchPairdefining the input and output columnscontrol- defines how to handlenullinput 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 notimeRecorderis provided, this is measured
-