@Internal public class AccumulatingKeyedTimePanes<Type,Key,Result> extends AbstractKeyedTimePanes<Type,Key,ArrayList<Type>,Result>
latestPane, previousPanes
Constructor and Description |
---|
AccumulatingKeyedTimePanes(KeySelector<Type,Key> keySelector,
WindowFunction<Type,Result,Key,Window> function) |
Modifier and Type | Method and Description |
---|---|
void |
addElementToLatestPane(Type element) |
void |
evaluateWindow(Collector<Result> out,
TimeWindow window,
AbstractStreamOperator<Result> operator) |
dispose, getNumPanes, readFromInput, slidePanes, traverseAllPanes, truncatePanes, writeToOutput
public AccumulatingKeyedTimePanes(KeySelector<Type,Key> keySelector, WindowFunction<Type,Result,Key,Window> function)
public void addElementToLatestPane(Type element) throws Exception
addElementToLatestPane
in class AbstractKeyedTimePanes<Type,Key,ArrayList<Type>,Result>
Exception
public void evaluateWindow(Collector<Result> out, TimeWindow window, AbstractStreamOperator<Result> operator) throws Exception
evaluateWindow
in class AbstractKeyedTimePanes<Type,Key,ArrayList<Type>,Result>
Exception
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.