Class CharEMOperator.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.em.BasePrimitiveEMOperator.Context
io.deephaven.engine.table.impl.updateby.em.CharEMOperator.Context
- All Implemented Interfaces:
SafeCloseable
,AutoCloseable
- Enclosing class:
- CharEMOperator
-
Field Summary
FieldsFields 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
push
(int pos, int count) Add values to the operators current data setvoid
setValueChunks
(@NotNull Chunk<? extends Values>[] valueChunks) Methods inherited from class io.deephaven.engine.table.impl.updateby.em.BasePrimitiveEMOperator.Context
reset
Methods inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
accumulateRolling, close, writeNullToOutputChunk, writeToOutputChunk, writeToOutputColumn
Methods 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
-
setValueChunks
- Overrides:
setValueChunks
in classBaseDoubleUpdateByOperator.Context
-
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
-
isValueValid
public boolean isValueValid(long atKey) - Overrides:
isValueValid
in classUpdateByOperator.Context
-
push
public void push(int pos, int count) Description copied from class:UpdateByOperator.Context
Add values to the operators current data set- Specified by:
push
in classUpdateByOperator.Context
- Parameters:
pos
- the index in the associated chunk where this value can be found. Depending on the usage, might be a values chunk (for cumulative operators) or an influencer values chunk (for windowed). It is the task of the operator to pull the data from the chunk and use it properlycount
- the number of items to push from the chunk
-