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 length windowLength slides at every count of given slideLength
See Also:
  • Method Details

    • of

      public static SlidingCountWindow of(int windowCount, int slidingCount)
    • getWindowStrategy

      public <T> WindowStrategy<T> getWindowStrategy()
      Description copied from interface: WindowConfig
      Gives the type of windowing. It can be any of Type values.