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