Interface WindowConfig
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BaseWindowConfig,SlidingCountWindow,SlidingDurationWindow,TumblingCountWindow,TumblingDurationWindow
public interface WindowConfig extends Serializable
Windowing configuration with window and sliding length.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWindowConfig.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetSlidingLength()Returns the sliding length of the moving window.intgetWindowLength()Returns the length of the window.<T> WindowStrategy<T>getWindowStrategy()Gives the type of windowing.voidvalidate()
-
-
-
Method Detail
-
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 ofTypevalues.
-
validate
void validate()
-
-