K - type of the keypublic class Windowed<K>
extends java.lang.Object
If a KStream gets grouped and aggregated using a window-aggregation the resulting KTable is a
so-called "windowed KTable" with a combined key type that encodes the corresponding aggregation window and
the original record key.
Thus, a windowed KTable has type <Windowed<K>,V>.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
K |
key()
Return the key of the window.
|
java.lang.String |
toString() |
Window |
window()
Return the window containing the values associated with this key.
|
public K key()
public Window window()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object