Class BigDecimalRollingWAvgOperator<T>
java.lang.Object
io.deephaven.engine.table.impl.updateby.UpdateByOperator
io.deephaven.engine.table.impl.updateby.internal.BaseObjectUpdateByOperator<BigDecimal>
io.deephaven.engine.table.impl.updateby.rollingwavg.BigDecimalRollingWAvgOperator<T>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected @NotNull ColumnSource<?>
protected @NotNull ColumnSource<?>
Fields inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseObjectUpdateByOperator
colType, maybeInnerSource, outputSource
Fields inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator
affectingColumns, forwardWindowScaleUnits, inputModifiedColumnSet, isWindowed, outputModifiedColumnSet, pair, reverseWindowScaleUnits, rowRedirection, timestampColumnName
-
Constructor Summary
ConstructorDescriptionBigDecimalRollingWAvgOperator
(@NotNull MatchPair pair, @NotNull String[] affectingColumns, @Nullable String timestampColumnName, long reverseWindowScaleUnits, long forwardWindowScaleUnits, @NotNull String weightColumnName, @NotNull MathContext mathContext) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Create an uninitialized copy of this operator.protected @NotNull String[]
Get the names of the input column(s) for this operator.void
initializeSources
(@NotNull Table source, @Nullable RowRedirection rowRedirection) Initialize this operator with a specific source table (and row redirection if needed).makeUpdateContext
(int affectedChunkSize, int influencerChunkSize) Make anUpdateByOperator.Context
suitable for use with updates.Methods inherited from class io.deephaven.engine.table.impl.updateby.internal.BaseObjectUpdateByOperator
applyOutputShift, clearOutputRows, getOutputColumns, initializeCumulative, prepareForParallelPopulation, startTrackingPrev
Methods inherited from class io.deephaven.engine.table.impl.updateby.UpdateByOperator
createInputModifiedColumnSet, createOutputModifiedColumnSet, extractDownstreamModifiedColumnSet, finishUpdate, getAffectingColumnNames, getFwdWindowUnits, getInputModifiedColumnSet, getOutputColumnNames, getOutputModifiedColumnSet, getPrevWindowUnits, getTimestampColumnName, initializeCumulativeWithKeyValues, initializeRolling, initializeRollingWithKeyValues, requiresRowPositions
-
Field Details
-
weightColumnSource
-
valueColumnSource
-
-
Constructor Details
-
BigDecimalRollingWAvgOperator
public BigDecimalRollingWAvgOperator(@NotNull @NotNull MatchPair pair, @NotNull @NotNull String[] affectingColumns, @Nullable @Nullable String timestampColumnName, long reverseWindowScaleUnits, long forwardWindowScaleUnits, @NotNull @NotNull String weightColumnName, @NotNull @NotNull MathContext mathContext)
-
-
Method Details
-
makeUpdateContext
@NotNull public UpdateByOperator.Context makeUpdateContext(int affectedChunkSize, int influencerChunkSize) Description copied from class:UpdateByOperator
Make anUpdateByOperator.Context
suitable for use with updates.- Specified by:
makeUpdateContext
in classUpdateByOperator
- Parameters:
affectedChunkSize
- The maximum size of affected chunks that will be provided during the update.influencerChunkSize
- The maximum size of influencer chunks that will be provided during the update.- Returns:
- a new context
-
initializeSources
public void initializeSources(@NotNull @NotNull Table source, @Nullable @Nullable RowRedirection rowRedirection) Description copied from class:UpdateByOperator
Initialize this operator with a specific source table (and row redirection if needed). This will be called exactly once per operator.- Overrides:
initializeSources
in classBaseObjectUpdateByOperator<BigDecimal>
-
copy
Description copied from class:UpdateByOperator
Create an uninitialized copy of this operator.UpdateByOperator.initializeSources(Table, RowRedirection)
must be called before this operator can be used.- Specified by:
copy
in classUpdateByOperator
- Returns:
- a copy of this operator
-
getInputColumnNames
Get the names of the input column(s) for this operator.- Overrides:
getInputColumnNames
in classUpdateByOperator
- Returns:
- the names of the input column
-