Interface WindowConfig
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BaseWindowConfig
,SlidingCountWindow
,SlidingDurationWindow
,TumblingCountWindow
,TumblingDurationWindow
Windowing configuration with window and sliding length.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the sliding length of the moving window.int
Returns the length of the window.<T> WindowStrategy<T>
Gives the type of windowing.void
validate()
-
Method Details
-
getWindowLength
int getWindowLength()Returns the length of the window. -
getSlidingLength
int getSlidingLength()Returns the sliding length of the moving window. -
getWindowStrategy
Gives the type of windowing. It can be any ofType
values. -
validate
void validate()
-