Interface MergingWindowSet.MergeFunction<W>
-
- Type Parameters:
W-
- Enclosing class:
- MergingWindowSet<W extends org.apache.flink.streaming.api.windowing.windows.Window>
public static interface MergingWindowSet.MergeFunction<W>Callback forMergingWindowSet.addWindow(Window, MergeFunction).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmerge(W mergeResult, Collection<W> mergedWindows, W stateWindowResult, Collection<W> mergedStateWindows)This gets called when a merge occurs.
-
-
-
Method Detail
-
merge
void merge(W mergeResult, Collection<W> mergedWindows, W stateWindowResult, Collection<W> mergedStateWindows) throws Exception
This gets called when a merge occurs.- Parameters:
mergeResult- The newly resulting mergedWindow.mergedWindows- The mergedWindow Windows.stateWindowResult- The state window of the merge result.mergedStateWindows- The merged state windows.- Throws:
Exception
-
-