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