NAME, nextCloseTime, windowLength
windowCount
aggregation, 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, start
combine, consume, count, getData, getRecords, getResult
getMetadata
public 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()
Monoidal
public void resetForPartition()
Scheme
resetForPartition
in class Basic
Copyright © 2021. All rights reserved.