K
- Type of keysV
- Type of values@InterfaceStability.Unstable public interface WindowStore<K,V> extends StateStore
StateStore
.Modifier and Type | Method and Description |
---|---|
WindowStoreIterator<V> |
fetch(K key,
long timeFrom,
long timeTo)
Get all the key-value pairs with the given key and the time range from all
the existing windows.
|
void |
put(K key,
V value)
Put a key-value pair with the current wall-clock time as the timestamp
into the corresponding window
|
void |
put(K key,
V value,
long timestamp)
Put a key-value pair with the given timestamp into the corresponding window
|
close, flush, init, name, persistent
void put(K key, V value)
void put(K key, V value, long timestamp)
WindowStoreIterator<V> fetch(K key, long timeFrom, long timeTo)
<timestamp, value>