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