Class SlidingCountWindow
java.lang.Object
org.apache.storm.trident.windowing.config.BaseWindowConfig
org.apache.storm.trident.windowing.config.SlidingCountWindow
- All Implemented Interfaces:
Serializable
,WindowConfig
Represents configuration of sliding window based on count of events. Window of length
windowLength
slides at every count of given
slideLength
- See Also:
-
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
Modifier and TypeMethodDescription<T> WindowStrategy<T>
Gives the type of windowing.static SlidingCountWindow
of
(int windowCount, int slidingCount) Methods inherited from class org.apache.storm.trident.windowing.config.BaseWindowConfig
getSlidingLength, getWindowLength, validate
-
Method Details
-
of
-
getWindowStrategy
Description copied from interface:WindowConfig
Gives the type of windowing. It can be any ofType
values.
-