Interface LocalExecutableQuery<K,​V>

    • Method Detail

      • execute

        Try<List<KV<K,​V>>> execute​(LocalStoreAccessProvider provider,
                                         long limit)
        Executes this query to the specified KafkaStreams application.
        Parameters:
        provider - the KafkaStreamsContainer instance.
        limit - the maximum number of records the result should be limited to (-1 means no limit).
      • toKeyValueListAndClose

        static <K,​V> List<KV<K,​V>> toKeyValueListAndClose​(org.apache.kafka.streams.state.KeyValueIterator<K,​V> it,
                                                                      long limit)
      • toKeyValueAndTimestampListAndClose

        static <K,​V> List<KV<K,​V>> toKeyValueAndTimestampListAndClose​(org.apache.kafka.streams.state.KeyValueIterator<K,​org.apache.kafka.streams.state.ValueAndTimestamp<V>> it,
                                                                                  long limit)