Class MergingWindowAssigner<W extends Window>

    • Constructor Detail

      • MergingWindowAssigner

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