Interface Segment

    • Method Detail

      • all

        KeyValueIterator<org.apache.kafka.common.utils.Bytes,​byte[]> all()
        Description copied from interface: ReadOnlyKeyValueStore
        Return an iterator over all keys in this store. This iterator must be closed after use. The returned iterator must be safe from ConcurrentModificationExceptions and must not return null values. No ordering guarantees are provided.
        Specified by:
        all in interface ReadOnlyKeyValueStore<org.apache.kafka.common.utils.Bytes,​byte[]>
        Returns:
        An iterator of all key/value pairs in the store.
      • range

        KeyValueIterator<org.apache.kafka.common.utils.Bytes,​byte[]> range​(org.apache.kafka.common.utils.Bytes from,
                                                                                 org.apache.kafka.common.utils.Bytes to)
        Description copied from interface: ReadOnlyKeyValueStore
        Get an iterator over a given range of keys. This iterator must be closed after use. The returned iterator must be safe from ConcurrentModificationExceptions and must not return null values. No ordering guarantees are provided.
        Specified by:
        range in interface ReadOnlyKeyValueStore<org.apache.kafka.common.utils.Bytes,​byte[]>
        Parameters:
        from - The first key that could be in the range
        to - The last key that could be in the range
        Returns:
        The iterator for this range.