Class MergingWindowAssigner<T,W extends Window>

java.lang.Object
org.apache.flink.streaming.api.windowing.assigners.WindowAssigner<T,W>
org.apache.flink.streaming.api.windowing.assigners.MergingWindowAssigner<T,W>
Type Parameters:
T - The type of elements that this WindowAssigner can assign windows to.
W - The type of Window that this assigner assigns.
All Implemented Interfaces:
Serializable

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

    • MergingWindowAssigner

      public MergingWindowAssigner()
  • Method Details

    • mergeWindows

      public abstract void mergeWindows(Collection<W> windows, MergingWindowAssigner.MergeCallback<W> callback)
      Determines which windows (if any) should be merged.
      Parameters:
      windows - The window candidates.
      callback - A callback that can be invoked to signal which windows should be merged.