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