public interface WindowConfig extends Serializable
Windowing configuration with window and sliding length.
Modifier and Type | Interface and Description |
---|---|
static class |
WindowConfig.Type |
Modifier and Type | Method and 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() |
int getWindowLength()
Returns the length of the window.
int getSlidingLength()
Returns the sliding length of the moving window.
<T> WindowStrategy<T> getWindowStrategy()
Gives the type of windowing. It can be any of Type
values.
void validate()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.