Class CountWindow

  • All Implemented Interfaces:
    Comparable<Window>

    public class CountWindow
    extends Window
    A Window that represents a count window. For each count window, we will assign a unique id. Thus this CountWindow can act as namespace part in state. We can attach data to each different CountWindow.
    • Constructor Detail

      • CountWindow

        public CountWindow​(long id)
    • Method Detail

      • getId

        public long getId()
        Gets the id (0-based) of the window.
      • maxTimestamp

        public long maxTimestamp()
        Description copied from class: Window
        Gets the largest timestamp that still belongs to this window.
        Specified by:
        maxTimestamp in class Window
        Returns:
        The largest timestamp that still belongs to this window.
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class Window
      • compareTo

        public int compareTo​(Window o)