Class MergingWindowAssigner<W extends Window>
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.window.assigners.WindowAssigner<W>
-
- org.apache.flink.table.runtime.operators.window.assigners.MergingWindowAssigner<W>
-
- Type Parameters:
W- The type ofWindowthat this assigner assigns.
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SessionWindowAssigner
public abstract class MergingWindowAssigner<W extends Window> extends WindowAssigner<W>
AWindowAssignerthat can merge windows.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMergingWindowAssigner.MergeCallback<W>Callback to be used inmergeWindows(Window, NavigableSet, MergeCallback)for specifying which windows should be merged.
-
Constructor Summary
Constructors Constructor Description MergingWindowAssigner()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidmergeWindows(W newWindow, NavigableSet<W> sortedWindows, MergingWindowAssigner.MergeCallback<W> callback)Determines which windows (if any) should be merged.-
Methods inherited from class org.apache.flink.table.runtime.operators.window.assigners.WindowAssigner
assignWindows, getWindowSerializer, isEventTime, open, toString
-
-
-
-
Method Detail
-
mergeWindows
public abstract void mergeWindows(W newWindow, NavigableSet<W> sortedWindows, MergingWindowAssigner.MergeCallback<W> callback)
Determines which windows (if any) should be merged.- Parameters:
newWindow- The new windowsortedWindows- The sorted window candidates.callback- A callback that can be invoked to signal which windows should be merged.
-
-