Class IntEmStdOperator.Context
java.lang.Object
io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
io.deephaven.engine.table.impl.updateby.emstd.BasePrimitiveEmStdOperator.Context
io.deephaven.engine.table.impl.updateby.emstd.IntEmStdOperator.Context
- All Implemented Interfaces:
SafeCloseable
,AutoCloseable
- Enclosing class:
- IntEmStdOperator
-
Field Summary
FieldsFields inherited from class io.deephaven.engine.table.impl.updateby.emstd.BasePrimitiveEmStdOperator.Context
alpha, curEma, curVariance, emaFillContext, emaValues, lastDt, lastStamp, oneMinusAlpha
Fields inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
curVal, outputFillContext, outputValues
Fields inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
affectedPosChunk, influencerPosChunk, nullCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulateCumulative
(@NotNull RowSequence inputKeys, Chunk<? extends Values>[] valueChunkArr, LongChunk<? extends Values> tsChunk, int len) For cumulative operators only, this method will be called to pass the input chunk data to the operator and produce the output data values.boolean
isValueValid
(long atKey) void
setValueChunks
(@NotNull Chunk<? extends Values>[] valuesChunks) void
writeToOutputColumn
(@NotNull RowSequence inputKeys) Write the output chunk to the output columnMethods inherited from class io.deephaven.engine.table.impl.updateby.emstd.BasePrimitiveEmStdOperator.Context
close, push, reset
Methods inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
accumulateRolling, writeNullToOutputChunk, writeToOutputChunk
Methods inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
pop, setPosChunks
-
Field Details
-
intValueChunk
-
-
Constructor Details
-
Context
protected Context(int affectedChunkSize, int influencerChunkSize)
-
-
Method Details
-
accumulateCumulative
public void accumulateCumulative(@NotNull @NotNull RowSequence inputKeys, Chunk<? extends Values>[] valueChunkArr, LongChunk<? extends Values> tsChunk, int len) Description copied from class:UpdateByOperator.Context
For cumulative operators only, this method will be called to pass the input chunk data to the operator and produce the output data values.- Overrides:
accumulateCumulative
in classBaseDoubleUpdateByOperator.Context
- Parameters:
inputKeys
- the keys for the input data rows (also matches the output keys)valueChunkArr
- the input data chunks needed by the operator for internal calculationstsChunk
- the timestamp chunk for the input data (if applicable)len
- the number of items in the input data chunks
-
writeToOutputColumn
Description copied from class:UpdateByOperator.Context
Write the output chunk to the output column- Overrides:
writeToOutputColumn
in classBaseDoubleUpdateByOperator.Context
-
setValueChunks
- Overrides:
setValueChunks
in classBaseDoubleUpdateByOperator.Context
-
isValueValid
public boolean isValueValid(long atKey) - Overrides:
isValueValid
in classUpdateByOperator.Context
-