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
For each key, the iterator guarantees ordering of sessions, starting from the oldest/earliest
available session to the newest/latest session.
|
KeyValueIterator<Windowed<K>,AGG> |
fetch(K from,
K to)
Retrieve all aggregated sessions for the given range of keys
For each key, the iterator guarantees ordering of sessions, starting from the oldest/earliest
available session to the newest/latest session.
|
KeyValueIterator<Windowed<K>,AGG> fetch(K key)
key - record key to find aggregated session values forKeyValueIterator<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 for