W - The type of Window that this assigner assigns.public abstract class MergingWindowAssigner<W extends Window> extends WindowAssigner<W>
WindowAssigner that can merge windows.| 限定符和类型 | 类和说明 |
|---|---|
static interface |
MergingWindowAssigner.MergeCallback<W>
Callback to be used in
mergeWindows(Window, NavigableSet, MergeCallback) for specifying which
windows should be merged. |
| 构造器和说明 |
|---|
MergingWindowAssigner() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
mergeWindows(W newWindow,
NavigableSet<W> sortedWindows,
MergingWindowAssigner.MergeCallback<W> callback)
Determines which windows (if any) should be merged.
|
assignWindows, getWindowSerializer, isEventTime, open, toStringpublic abstract void mergeWindows(W newWindow, NavigableSet<W> sortedWindows, MergingWindowAssigner.MergeCallback<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–2020 The Apache Software Foundation. All rights reserved.