K
- the key typeAGG
- the aggregated value typepublic interface ReadOnlySessionStore<K,AGG>
Modifier and Type | Method and 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.