Class MergingWindowAssigner<W extends Window>
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.window.groupwindow.assigners.GroupWindowAssigner<W>
-
- org.apache.flink.table.runtime.operators.window.groupwindow.assigners.MergingWindowAssigner<W>
-
- Type Parameters:
W- The type ofWindowthat this assigner assigns.
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SessionWindowAssigner,UnsliceAssigners.WindowedUnsliceAssigner
public abstract class MergingWindowAssigner<W extends Window> extends GroupWindowAssigner<W>
AWindowAssignerthat can merge windows.- See Also:
- Serialized Form
-
-
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, MergeCallback<W,Collection<W>> callback)Determines which windows (if any) should be merged.-
Methods inherited from class org.apache.flink.table.runtime.operators.window.groupwindow.assigners.GroupWindowAssigner
assignWindows, getWindowSerializer, isEventTime, open, toString
-
-
-
-
Method Detail
-
mergeWindows
public abstract void mergeWindows(W newWindow, NavigableSet<W> sortedWindows, MergeCallback<W,Collection<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.
-
-