NAME, nextCloseTime, windowLengthwindowCountaggregation, metadataKeys, window| Constructor and Description |
|---|
AdditiveTumbling(Strategy aggregation,
Window window,
BulletConfig config)
Creates an instance of this windowing scheme with the provided
Strategy and BulletConfig. |
| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Reset the data so far and make this the identity element for the Monoid with respect to inserting data.
|
void |
resetForPartition()
Resets the window when operating in partition mode.
|
getMetadata, isClosed, isClosedForPartition, name, startcombine, consume, count, getData, getRecords, getResultgetMetadatapublic AdditiveTumbling(Strategy aggregation, Window window, BulletConfig config)
Strategy and BulletConfig.aggregation - The non-null initialized aggregation strategy that this window will operate.window - The initialized, configured window to use.config - The validated config to use.public void reset()
Monoidalpublic void resetForPartition()
SchemeresetForPartition in class BasicCopyright © 2021. All rights reserved.