Interface WindowConfig

All Superinterfaces:
All Known Implementing Classes:
BaseWindowConfig, SlidingCountWindow, SlidingDurationWindow, TumblingCountWindow, TumblingDurationWindow

public interface WindowConfig extends Serializable
Windowing configuration with window and sliding length.
  • Method Details

    • getWindowLength

      int getWindowLength()
      Returns the length of the window.
    • getSlidingLength

      int getSlidingLength()
      Returns the sliding length of the moving window.
    • getWindowStrategy

      <T> WindowStrategy<T> getWindowStrategy()
      Gives the type of windowing. It can be any of Type values.
    • validate

      void validate()