Class BaseDoubleUpdateByOperator.Context
java.lang.Object
io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
io.deephaven.engine.table.impl.updateby.internal.BaseDoubleUpdateByOperator.Context
- All Implemented Interfaces:
SafeCloseable
,AutoCloseable
- Direct Known Subclasses:
BasePrimitiveEMOperator.Context
,BasePrimitiveEmStdOperator.Context
,ByteRollingAvgOperator.Context
,ByteRollingProductOperator.Context
,ByteRollingStdOperator.Context
,ByteRollingWAvgOperator.Context
,CharRollingAvgOperator.Context
,CharRollingProductOperator.Context
,CharRollingStdOperator.Context
,CharRollingWAvgOperator.Context
,DoubleCumMinMaxOperator.Context
,DoubleCumProdOperator.Context
,DoubleCumSumOperator.Context
,DoubleDeltaOperator.Context
,DoubleFillByOperator.Context
,DoubleRollingAvgOperator.Context
,DoubleRollingMinMaxOperator.Context
,DoubleRollingProductOperator.Context
,DoubleRollingStdOperator.Context
,DoubleRollingSumOperator.Context
,DoubleRollingWAvgOperator.Context
,FloatCumProdOperator.Context
,FloatCumSumOperator.Context
,FloatRollingAvgOperator.Context
,FloatRollingProductOperator.Context
,FloatRollingStdOperator.Context
,FloatRollingSumOperator.Context
,FloatRollingWAvgOperator.Context
,IntRollingAvgOperator.Context
,IntRollingProductOperator.Context
,IntRollingStdOperator.Context
,IntRollingWAvgOperator.Context
,LongRollingAvgOperator.Context
,LongRollingProductOperator.Context
,LongRollingStdOperator.Context
,LongRollingWAvgOperator.Context
,ShortRollingAvgOperator.Context
,ShortRollingProductOperator.Context
,ShortRollingStdOperator.Context
,ShortRollingWAvgOperator.Context
- Enclosing class:
- BaseDoubleUpdateByOperator
-
Field Summary
Modifier and TypeFieldDescriptiondouble
protected final ChunkSink.FillFromContext
protected final WritableDoubleChunk<Values>
Fields inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
affectedPosChunk, influencerPosChunk, nullCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulateCumulative
(@NotNull RowSequence inputKeys, @NotNull Chunk<? extends Values>[] valueChunkArr, @Nullable LongChunk<? extends Values> tsChunk, int len) void
accumulateRolling
(@NotNull RowSequence inputKeys, @NotNull Chunk<? extends Values>[] influencerValueChunkArr, @Nullable LongChunk<OrderedRowKeys> affectedPosChunk, @Nullable LongChunk<OrderedRowKeys> influencerPosChunk, @NotNull IntChunk<? extends Values> pushChunk, @NotNull IntChunk<? extends Values> popChunk, int len) void
close()
void
reset()
Reset the operator data values to a known state.void
setValueChunks
(@NotNull Chunk<? extends Values>[] valueChunks) void
writeToOutputChunk
(int outIdx) Write the current value for this row to the output chunkvoid
writeToOutputColumn
(@NotNull RowSequence inputKeys) Write the output chunk to the output columnMethods inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator.Context
isValueValid, pop, push, setPosChunks
-
Field Details
-
outputFillContext
-
outputValues
-
curVal
public double curVal
-
-
Constructor Details
-
Context
protected Context(int chunkSize)
-
-
Method Details
-
accumulateCumulative
public void accumulateCumulative(@NotNull @NotNull RowSequence inputKeys, @NotNull @NotNull Chunk<? extends Values>[] valueChunkArr, @Nullable @Nullable LongChunk<? extends Values> tsChunk, int len) - Specified by:
accumulateCumulative
in classUpdateByOperator.Context
-
accumulateRolling
public void accumulateRolling(@NotNull @NotNull RowSequence inputKeys, @NotNull @NotNull Chunk<? extends Values>[] influencerValueChunkArr, @Nullable @Nullable LongChunk<OrderedRowKeys> affectedPosChunk, @Nullable @Nullable LongChunk<OrderedRowKeys> influencerPosChunk, @NotNull @NotNull IntChunk<? extends Values> pushChunk, @NotNull @NotNull IntChunk<? extends Values> popChunk, int len) - Specified by:
accumulateRolling
in classUpdateByOperator.Context
-
setValueChunks
- Specified by:
setValueChunks
in classUpdateByOperator.Context
-
writeToOutputChunk
public void writeToOutputChunk(int outIdx) Description copied from class:UpdateByOperator.Context
Write the current value for this row to the output chunk- Specified by:
writeToOutputChunk
in classUpdateByOperator.Context
-
writeToOutputColumn
Description copied from class:UpdateByOperator.Context
Write the output chunk to the output column- Specified by:
writeToOutputColumn
in classUpdateByOperator.Context
-
reset
public void reset()Description copied from class:UpdateByOperator.Context
Reset the operator data values to a known state. This may occur during initialization or when a windowed operator has an empty window- Specified by:
reset
in classUpdateByOperator.Context
-
close
public void close()
-