Class Window
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.window.Window
-
- All Implemented Interfaces:
Comparable<Window>
- Direct Known Subclasses:
CountWindow
,TimeWindow
public abstract class Window extends Object implements Comparable<Window>
AWindow
is a grouping of elements into finite buckets. Windows have a maximum timestamp which means that, at some point, all elements that go into one window will have arrived.Subclasses should implement
equals()
andhashCode()
so that logically same windows are treated the same.
-
-
Constructor Summary
Constructors Constructor Description Window()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
equals(Object obj)
abstract int
hashCode()
abstract long
maxTimestamp()
Gets the largest timestamp that still belongs to this window.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-