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