W - The type of Window that this assigner assigns.public abstract class MergingWindowAssigner<W extends Window> extends GroupWindowAssigner<W>
WindowAssigner that can merge windows.| Constructor and Description |
|---|
MergingWindowAssigner() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
mergeWindows(W newWindow,
NavigableSet<W> sortedWindows,
MergeCallback<W,Collection<W>> callback)
Determines which windows (if any) should be merged.
|
assignWindows, getWindowSerializer, isEventTime, open, toStringpublic abstract void mergeWindows(W newWindow, NavigableSet<W> sortedWindows, MergeCallback<W,Collection<W>> callback)
newWindow - The new windowsortedWindows - The sorted window candidates.callback - A callback that can be invoked to signal which windows should be merged.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.