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 of Window that this assigner assigns.
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SessionWindowAssigner, UnsliceAssigners.WindowedUnsliceAssigner

public abstract class MergingWindowAssigner<W extends Window> extends GroupWindowAssigner<W>
A WindowAssigner that can merge windows.
See Also:
  • Constructor Details

    • MergingWindowAssigner

      public MergingWindowAssigner()
  • Method Details

    • 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 window
      sortedWindows - The sorted window candidates.
      callback - A callback that can be invoked to signal which windows should be merged.