Class PanedWindowAssigner<W extends Window>

    • Constructor Detail

      • PanedWindowAssigner

        public PanedWindowAssigner()
    • Method Detail

      • assignPane

        public abstract W assignPane​(Object element,
                                     long timestamp)
        Given the timestamp and element, returns the pane into which it should be placed.
        Parameters:
        element - The element to which windows should be assigned.
        timestamp - The timestamp of the element when WindowAssigner.isEventTime() returns true, or the current system time when WindowAssigner.isEventTime() returns false.
      • splitIntoPanes

        public abstract Iterable<W> splitIntoPanes​(W window)
        Splits the given window into panes collection.
        Parameters:
        window - the window to be split.
        Returns:
        the panes iterable
      • getLastWindow

        public abstract W getLastWindow​(W pane)
        Gets the last window which the pane belongs to.