Class TimestampedWindowFetchKeyRangeQuery<K,V>
- java.lang.Object
-
- io.streamthoughts.azkarra.api.query.internal.TimestampedWindowFetchKeyRangeQuery<K,V>
-
- All Implemented Interfaces:
LocalStoreQuery<org.apache.kafka.streams.kstream.Windowed<K>,V>
public class TimestampedWindowFetchKeyRangeQuery<K,V> extends Object implements LocalStoreQuery<org.apache.kafka.streams.kstream.Windowed<K>,V>
-
-
Field Summary
-
Fields inherited from interface io.streamthoughts.azkarra.api.query.LocalStoreQuery
NO_LIMIT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Try<List<KV<org.apache.kafka.streams.kstream.Windowed<K>,V>>>execute(KafkaStreamsContainer container, long limit)Executes this query to the specified KafkaStreams application.StoreOperationoperationType()The operation type supported by this query.StoreTypestoreType()The storeName type on which this query can be executed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.api.query.LocalStoreQuery
execute
-
-
-
-
Method Detail
-
storeType
public StoreType storeType()
The storeName type on which this query can be executed.- Specified by:
storeTypein interfaceLocalStoreQuery<K,V>- Returns:
- a new
StoreOperationinstance.
-
operationType
public StoreOperation operationType()
The operation type supported by this query.- Specified by:
operationTypein interfaceLocalStoreQuery<K,V>- Returns:
- a new
StoreOperationinstance.
-
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.- Specified by:
executein interfaceLocalStoreQuery<K,V>- Parameters:
container- theKafkaStreamsContainerinstance.limit- the maximum number of records the result should be limited to (-1 means no limit).
-
-