Class CharEmStdOperator.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.CharEmStdOperator.Context
- All Implemented Interfaces:
SafeCloseable,AutoCloseable
- Enclosing class:
- CharEmStdOperator
-
Field Summary
FieldsFields inherited from class io.deephaven.engine.table.impl.updateby.emstd.BasePrimitiveEmStdOperator.Context
alpha, curEma, curVariance, emaFillContext, emaValues, lastDt, lastStamp, oneMinusAlphaFields inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
curVal, outputFillContext, outputValuesFields inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
affectedPosChunk, influencerPosChunk, nullCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulateCumulative(@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.booleanisValueValid(long atKey) voidsetValueChunks(@NotNull Chunk<? extends Values>[] valuesChunks) voidwriteToOutputColumn(@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, resetMethods inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
accumulateRolling, writeNullToOutputChunk, writeToOutputChunkMethods inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
pop, setPosChunks
-
Field Details
-
charValueChunk
-
-
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.ContextFor cumulative operators only, this method will be called to pass the input chunk data to the operator and produce the output data values.- Overrides:
accumulateCumulativein 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.ContextWrite the output chunk to the output column- Overrides:
writeToOutputColumnin classBaseDoubleUpdateByOperator.Context
-
setValueChunks
- Overrides:
setValueChunksin classBaseDoubleUpdateByOperator.Context
-
isValueValid
public boolean isValueValid(long atKey) - Overrides:
isValueValidin classUpdateByOperator.Context
-