public interface WindowOperator<InputType>
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
<OutputType> |
addAggregation(AggregateFunction<InputType,?,OutputType> windowFunction)
Add a aggregation
|
void |
addWindowAssigner(Window window)
Add a window assigner to the window operator.
|
void |
processElement(InputType element,
long ts)
Process a new element of the stream
|
java.util.List<AggregateWindow> |
processWatermark(long watermarkTs)
Process a watermark at a specific timestamp
|
void processElement(InputType element, long ts)
java.util.List<AggregateWindow> processWatermark(long watermarkTs)
void addWindowAssigner(Window window)
<OutputType> void addAggregation(AggregateFunction<InputType,?,OutputType> windowFunction)
windowFunction -