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