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 class
WindowConfig.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getSlidingLength()
Returns the sliding length of the moving window.int
getWindowLength()
Returns the length of the window.<T> WindowStrategy<T>
getWindowStrategy()
Gives the type of windowing.void
validate()
-
-
-
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 ofType
values.
-
validate
void validate()
-
-