public class QueryableStoreTypes
extends java.lang.Object
QueryableStoreTypes provided with KafkaStreams. These
can be used with KafkaStreams.store(String, QueryableStoreType)
To access and query the StateStores that are part of a Topology| Constructor | Description |
|---|---|
QueryableStoreTypes() |
| Modifier and Type | Method | Description |
|---|---|---|
static <K,V> QueryableStoreType<ReadOnlyKeyValueStore<K,V>> |
keyValueStore() |
A
QueryableStoreType that accepts ReadOnlyKeyValueStore |
static <K,V> QueryableStoreType<ReadOnlySessionStore<K,V>> |
sessionStore() |
A
QueryableStoreType that accepts ReadOnlySessionStore |
static <K,V> QueryableStoreType<ReadOnlyWindowStore<K,V>> |
windowStore() |
A
QueryableStoreType that accepts ReadOnlyWindowStore |
public static <K,V> QueryableStoreType<ReadOnlyKeyValueStore<K,V>> keyValueStore()
QueryableStoreType that accepts ReadOnlyKeyValueStoreK - key type of the storeV - value type of the storeQueryableStoreTypes.KeyValueStoreTypepublic static <K,V> QueryableStoreType<ReadOnlyWindowStore<K,V>> windowStore()
QueryableStoreType that accepts ReadOnlyWindowStoreK - key type of the storeV - value type of the storeQueryableStoreTypes.WindowStoreTypepublic static <K,V> QueryableStoreType<ReadOnlySessionStore<K,V>> sessionStore()
QueryableStoreType that accepts ReadOnlySessionStoreK - key type of the storeV - value type of the storeQueryableStoreTypes.SessionStoreType