Class CountWindow
java.lang.Object
org.apache.flink.table.runtime.operators.window.Window
org.apache.flink.table.runtime.operators.window.CountWindow
- All Implemented Interfaces:
Comparable<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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe serializer used to write the CountWindow type. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CountWindow
public CountWindow(long id)
-
-
Method Details
-
getId
public long getId()Gets the id (0-based) of the window. -
maxTimestamp
public long maxTimestamp()Description copied from class:WindowGets the largest timestamp that still belongs to this window.- Specified by:
maxTimestampin classWindow- Returns:
- The largest timestamp that still belongs to this window.
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
-