Interface MergingWindowSet.MergeFunction<W>

Type Parameters:
W -
Enclosing class:
MergingWindowSet<W extends org.apache.flink.streaming.api.windowing.windows.Window>

public static interface MergingWindowSet.MergeFunction<W>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    merge(W mergeResult, Collection<W> mergedWindows, W stateWindowResult, Collection<W> mergedStateWindows)
    This gets called when a merge occurs.
  • Method Details

    • merge

      void merge(W mergeResult, Collection<W> mergedWindows, W stateWindowResult, Collection<W> mergedStateWindows) throws Exception
      This gets called when a merge occurs.
      Parameters:
      mergeResult - The newly resulting merged Window.
      mergedWindows - The merged Window Windows.
      stateWindowResult - The state window of the merge result.
      mergedStateWindows - The merged state windows.
      Throws:
      Exception