W
- public static interface MergingWindowSet.MergeFunction<W>
MergingWindowSet.addWindow(Window, MergeFunction)
.Modifier and Type | Method and Description |
---|---|
void |
merge(W mergeResult,
Collection<W> mergedWindows,
W stateWindowResult,
Collection<W> mergedStateWindows)
This gets called when a merge occurs.
|
void merge(W mergeResult, Collection<W> mergedWindows, W stateWindowResult, Collection<W> mergedStateWindows) throws Exception
mergeResult
- The newly resulting merged Window
.mergedWindows
- The merged Window Windows
.stateWindowResult
- The state window of the merge result.mergedStateWindows
- The merged state windows.Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.