public final class TumblingCountWindow extends BaseWindowConfig
Represents tumbling count window configuration. Window tumbles at each given windowLength count of events.
WindowConfig.TypeslideLength, windowLength| Modifier and Type | Method and Description |
|---|---|
<T> WindowStrategy<T> |
getWindowStrategy()
Gives the type of windowing.
|
static TumblingCountWindow |
of(int windowLength) |
getSlidingLength, getWindowLength, validatepublic static TumblingCountWindow of(int windowLength)
public <T> WindowStrategy<T> getWindowStrategy()
WindowConfigGives the type of windowing. It can be any of Type values.
Copyright © 2020 The Apache Software Foundation. All rights reserved.