Class LongCumSumOperator
java.lang.Object
com.illumon.iris.db.v2.updateby.internal.BaseLongUpdateByOperator
com.illumon.iris.db.v2.updateby.sum.LongCumSumOperator
- All Implemented Interfaces:
- UpdateByOperator
- 
Nested Class SummaryNested classes/interfaces inherited from class com.illumon.iris.db.v2.updateby.internal.BaseLongUpdateByOperatorBaseLongUpdateByOperator.ContextNested classes/interfaces inherited from interface com.illumon.iris.db.v2.updateby.UpdateByOperatorUpdateByOperator.UpdateContext
- 
Field SummaryFields inherited from class com.illumon.iris.db.v2.updateby.internal.BaseLongUpdateByOperatoraffectingColumns, bucketLastVal, initialized, isRedirected, maybeInnerSource, outputSource, pair, singletonGroup, singletonValFields inherited from interface com.illumon.iris.db.v2.updateby.UpdateByOperatorZERO_LENGTH_OP_ARRAY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddChunk(UpdateByOperator.UpdateContext context, Chunk<Attributes.Values> values, LongChunk<? extends Attributes.KeyIndices> keyChunk, IntChunk<Attributes.KeyIndices> bucketPositions, IntChunk<Attributes.ChunkPositions> startPositions, IntChunk<Attributes.ChunkLengths> runLengths) Add a chunk of bucketed items to the operation.protected voiddoAddChunk(BaseLongUpdateByOperator.Context ctx, OrderedKeys inputKeys, Chunk<Attributes.Values> workingChunk, long groupPosition) Add a chunk of values to the operator.Methods inherited from class com.illumon.iris.db.v2.updateby.internal.BaseLongUpdateByOperatoraddChunk, anyModified, applyOutputShift, applyShift, canProcessNormalUpdate, finishFor, getAdditionalModifications, getAffectingColumnNames, getInputColumnName, getOutputColumnNames, getOutputColumns, initializeFor, initializeForUpdate, makeUpdateContext, modifyChunk, onBucketsRemoved, removeChunk, reprocessChunk, reprocessChunk, requiresKeys, requiresValues, resetForReprocess, resetForReprocess, setBucketCapacity, setChunkSize, startTrackingPrev
- 
Constructor Details- 
LongCumSumOperator
 
- 
- 
Method Details- 
addChunkpublic void addChunk(@NotNull UpdateByOperator.UpdateContext context, @NotNull Chunk<Attributes.Values> values, @NotNull LongChunk<? extends Attributes.KeyIndices> keyChunk, @NotNull IntChunk<Attributes.KeyIndices> bucketPositions, @NotNull IntChunk<Attributes.ChunkPositions> startPositions, @NotNull IntChunk<Attributes.ChunkLengths> runLengths) Description copied from interface:UpdateByOperatorAdd a chunk of bucketed items to the operation.- Parameters:
- context- the context object
- values- the value chunk
- keyChunk- a chunk of keys for the rows being added
- bucketPositions- a chunk of hash bucket positions for each key
- startPositions- the start position of a run within the chunk
- runLengths- the runLengths of each run of bucket values
 
- 
doAddChunkprotected void doAddChunk(@NotNull BaseLongUpdateByOperator.Context ctx, @NotNull OrderedKeys inputKeys, @NotNull Chunk<Attributes.Values> workingChunk, long groupPosition) Description copied from class:BaseLongUpdateByOperatorAdd a chunk of values to the operator.- Specified by:
- doAddChunkin class- BaseLongUpdateByOperator
- Parameters:
- ctx- the context object
- inputKeys- the input keys for the chunk
- workingChunk- the chunk of values
- groupPosition- the bucket position that the values belong to.
 
 
-