K
- the key typeAGG
- the aggregated value typeSessionStore<K,AGG>
public interface ReadOnlySessionStore<K,AGG>
Modifier and Type | Method | Description |
---|---|---|
KeyValueIterator<Windowed<K>,AGG> |
fetch(K key) |
Retrieve all aggregated sessions for the provided key.
|
KeyValueIterator<Windowed<K>,AGG> |
fetch(K from,
K to) |
Retrieve all aggregated sessions for the given range of keys.
|
KeyValueIterator<Windowed<K>,AGG> fetch(K key)
key
- record key to find aggregated session values forjava.lang.NullPointerException
- If null is used for key.KeyValueIterator<Windowed<K>,AGG> fetch(K from, K to)
from
- first key in the range to find aggregated session values forto
- last key in the range to find aggregated session values forjava.lang.NullPointerException
- If null is used for any of the keys.