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> stateWindowsToBeMerged)
This gets called when a merge occurs.
|
void merge(W mergeResult, Collection<W> mergedWindows, W stateWindowResult, Collection<W> stateWindowsToBeMerged) throws Exception
mergeResult - The newly resulting merged Window.mergedWindows - The merged Window Windows.stateWindowResult - The state window of the merge result.stateWindowsToBeMerged - The merged state windows.ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.