K
- Type of keysV
- Type of valuesReadOnlyWindowStore<K,V>
, StateStore
public interface WindowStore<K,V> extends StateStore, ReadOnlyWindowStore<K,V>
StateStore
.Modifier and Type | Method | Description |
---|---|---|
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
|
all, fetch, fetch, fetch, fetchAll
close, flush, init, isOpen, name, persistent
void put(K key, V value)
key
- The key to associate the value tovalue
- The value to update, it can be null;
if the serialized bytes are also null it is interpreted as deletesjava.lang.NullPointerException
- If null is used for key.