Class SessionFetchQuery<K,​V>

  • All Implemented Interfaces:
    LocalStoreQuery<org.apache.kafka.streams.kstream.Windowed<K>,​V>

    public class SessionFetchQuery<K,​V>
    extends KeyedLocalStoreQuery<K,​org.apache.kafka.streams.kstream.Windowed<K>,​V>
    • Method Detail

      • storeType

        public StoreType storeType()
        The storeName type on which this query can be executed.
        Returns:
        a new StoreOperation instance.
      • execute

        public Try<List<KV<org.apache.kafka.streams.kstream.Windowed<K>,​V>>> execute​(KafkaStreamsContainer container,
                                                                                           long limit)
        Executes this query to the specified KafkaStreams application.
        Parameters:
        container - the KafkaStreamsContainer instance.
        limit - the maximum number of records the result should be limited to (-1 means no limit).