Interface MergingWindowAssigner.MergeCallback<W>
- Enclosing class:
- MergingWindowAssigner<T,
W extends Window>
@PublicEvolving
public static interface MergingWindowAssigner.MergeCallback<W>
Callback to be used in
MergingWindowAssigner.mergeWindows(Collection, MergeCallback) for specifying which
windows should be merged.-
Method Summary
Modifier and TypeMethodDescriptionvoidmerge(Collection<W> toBeMerged, W mergeResult) Specifies that the given windows should be merged into the result window.
-
Method Details
-
merge
Specifies that the given windows should be merged into the result window.- Parameters:
toBeMerged- The list of windows that should be merged into one window.mergeResult- The resulting merged window.
-