Class BigIntegerEMOperator
java.lang.Object
io.deephaven.engine.table.impl.updateby.UpdateByOperator
io.deephaven.engine.table.impl.updateby.internal.BaseObjectUpdateByOperator<BigDecimal>
io.deephaven.engine.table.impl.updateby.em.BaseBigNumberEMOperator<BigInteger>
io.deephaven.engine.table.impl.updateby.em.BigIntegerEMOperator
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.engine.table.impl.updateby.em.BaseBigNumberEMOperator
BaseBigNumberEMOperator.EmFunction
-
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.updateby.em.BaseBigNumberEMOperator
control, opAlpha, opOneMinusAlpha, reverseWindowScaleUnits, valueSource
Fields inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseObjectUpdateByOperator
colType, maybeInnerSource, outputSource
Fields inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator
affectingColumns, forwardWindowScaleUnits, inputModifiedColumnSet, isWindowed, outputModifiedColumnSet, pair, rowRedirection, timestampColumnName
-
Constructor Summary
ConstructorDescriptionBigIntegerEMOperator
(@NotNull MatchPair pair, @NotNull String[] affectingColumns, @NotNull OperationControl control, @Nullable String timestampColumnName, double windowScaleUnits, @NotNull BaseBigNumberEMOperator.EmFunction aggFunction) An operator that computes an EMA from a BigInteger column using an exponential decay function. -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Create an uninitialized copy of this operator.makeUpdateContext
(int affectedChunkSize, int influencerChunkSize) Make anUpdateByOperator.Context
suitable for use with updates.Methods inherited from class io.deephaven.engine.table.impl.updateby.em.BaseBigNumberEMOperator
initializeCumulative, initializeSources
Methods inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseObjectUpdateByOperator
applyOutputShift, clearOutputRows, getOutputColumns, prepareForParallelPopulation, startTrackingPrev
Methods inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator
createInputModifiedColumnSet, createOutputModifiedColumnSet, extractDownstreamModifiedColumnSet, finishUpdate, getAffectingColumnNames, getFwdWindowUnits, getInputColumnNames, getInputModifiedColumnSet, getOutputColumnNames, getOutputModifiedColumnSet, getPrevWindowUnits, getTimestampColumnName, initializeCumulativeWithKeyValues, initializeRolling, initializeRollingWithKeyValues, requiresRowPositions
-
Constructor Details
-
BigIntegerEMOperator
public BigIntegerEMOperator(@NotNull @NotNull MatchPair pair, @NotNull @NotNull String[] affectingColumns, @NotNull @NotNull OperationControl control, @Nullable @Nullable String timestampColumnName, double windowScaleUnits, @NotNull @NotNull BaseBigNumberEMOperator.EmFunction aggFunction) An operator that computes an EMA from a BigInteger column using an exponential decay function.- Parameters:
pair
- theMatchPair
that defines the input/output for this operationaffectingColumns
- the names of the columns that affect this emacontrol
- defines how to handlenull
input values.timestampColumnName
- the name of the column containing timestamps for time-based calcuationswindowScaleUnits
- the smoothing window for the EMA. If notimestampColumnName
is provided, this is measured in ticks, otherwise it is measured in nanoseconds
-
-
Method Details
-
copy
Description copied from class:UpdateByOperator
Create an uninitialized copy of this operator.UpdateByOperator.initializeSources(Table, RowRedirection)
must be called before this operator can be used.- Specified by:
copy
in classUpdateByOperator
- Returns:
- a copy of this operator
-
makeUpdateContext
@NotNull public UpdateByOperator.Context makeUpdateContext(int affectedChunkSize, int influencerChunkSize) Description copied from class:UpdateByOperator
Make anUpdateByOperator.Context
suitable for use with updates.- Specified by:
makeUpdateContext
in classUpdateByOperator
- Parameters:
affectedChunkSize
- The maximum size of affected chunks that will be provided during the update.influencerChunkSize
- The maximum size of influencer chunks that will be provided during the update.- Returns:
- a new context
-