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 <T> WindowStrategy<T> getWindowStrategy()
WindowConfigGives the type of windowing. It can be any of Type values.
public static TumblingCountWindow of(int windowLength)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.