Class SlidingCountWindow
- java.lang.Object
-
- org.apache.storm.trident.windowing.config.BaseWindowConfig
-
- org.apache.storm.trident.windowing.config.SlidingCountWindow
-
- All Implemented Interfaces:
Serializable,WindowConfig
public final class SlidingCountWindow extends BaseWindowConfig
Represents configuration of sliding window based on count of events. Window of lengthwindowLengthslides at every count of givenslideLength- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.storm.trident.windowing.config.WindowConfig
WindowConfig.Type
-
-
Field Summary
-
Fields inherited from class org.apache.storm.trident.windowing.config.BaseWindowConfig
slideLength, windowLength
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> WindowStrategy<T>getWindowStrategy()Gives the type of windowing.static SlidingCountWindowof(int windowCount, int slidingCount)-
Methods inherited from class org.apache.storm.trident.windowing.config.BaseWindowConfig
getSlidingLength, getWindowLength, validate
-
-
-
-
Method Detail
-
of
public static SlidingCountWindow of(int windowCount, int slidingCount)
-
getWindowStrategy
public <T> WindowStrategy<T> getWindowStrategy()
Description copied from interface:WindowConfigGives the type of windowing. It can be any ofTypevalues.
-
-