Class QueryableStoreTypes.WindowStoreType<K,V>
java.lang.Object
org.apache.kafka.streams.state.QueryableStoreTypes.WindowStoreType<K,V>
- All Implemented Interfaces:
QueryableStoreType<ReadOnlyWindowStore<K,V>>
- Enclosing class:
QueryableStoreTypes
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(StateStore stateStore) Called when searching forStateStores to see if they match the type expected by implementors of this interface.Create an instance ofT(usually a facade) that developers can use to query the underlyingStateStores.
-
Method Details
-
create
public ReadOnlyWindowStore<K,V> create(org.apache.kafka.streams.state.internals.StateStoreProvider storeProvider, String storeName) Description copied from interface:QueryableStoreTypeCreate an instance ofT(usually a facade) that developers can use to query the underlyingStateStores.- Parameters:
storeProvider- provides access to all the underlying StateStore instancesstoreName- The name of the Store- Returns:
- a read-only interface over a
StateStore(cf.QueryableStoreTypes.KeyValueStoreType)
-
accepts
Description copied from interface:QueryableStoreTypeCalled when searching forStateStores to see if they match the type expected by implementors of this interface.- Specified by:
acceptsin interfaceQueryableStoreType<T>- Parameters:
stateStore- The stateStore- Returns:
- true if it is a match
-