Class CompositeReadOnlySessionStore<K,​V>

    • Method Detail

      • fetch

        public KeyValueIterator<Windowed<K>,​V> fetch​(K key)
        Description copied from interface: ReadOnlySessionStore
        Retrieve all aggregated sessions for the provided key. This iterator must be closed after use. For each key, the iterator guarantees ordering of sessions, starting from the oldest/earliest available session to the newest/latest session.
        Specified by:
        fetch in interface ReadOnlySessionStore<K,​V>
        Parameters:
        key - record key to find aggregated session values for
        Returns:
        KeyValueIterator containing all sessions for the provided key.
      • fetch

        public KeyValueIterator<Windowed<K>,​V> fetch​(K from,
                                                           K to)
        Description copied from interface: ReadOnlySessionStore
        Retrieve all aggregated sessions for the given range of keys. This iterator must be closed after use. For each key, the iterator guarantees ordering of sessions, starting from the oldest/earliest available session to the newest/latest session.
        Specified by:
        fetch in interface ReadOnlySessionStore<K,​V>
        Parameters:
        from - first key in the range to find aggregated session values for
        to - last key in the range to find aggregated session values for
        Returns:
        KeyValueIterator containing all sessions for the provided key.