public abstract class Window extends Object implements Comparable<Window>
Window
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()
and hashCode()
so that logically same
windows are treated the same.
Constructor and Description |
---|
Window() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(Object obj) |
abstract int |
hashCode() |
abstract long |
maxTimestamp()
Gets the largest timestamp that still belongs to this window.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compareTo
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.