Interface WindowsStore
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
InMemoryWindowsStore
public interface WindowsStore extends Serializable
Store for storing window related entities like windowed tuples, triggers etc.WindowKryoSerializercan be used for kryo serialization/deserialization of keys and values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWindowsStore.EntryThis class wraps key and value objects which can be passed toputAllmethod.
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_SEPARATORThis can be used as a separator while generating a key from sequence of strings.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget(String key)Iterable<Object>get(List<String> keys)Iterable<String>getAllKeys()voidput(String key, Object value)voidputAll(Collection<WindowsStore.Entry> entries)voidremove(String key)voidremoveAll(Collection<String> keys)voidshutdown()
-
-
-
Field Detail
-
KEY_SEPARATOR
static final String KEY_SEPARATOR
This can be used as a separator while generating a key from sequence of strings.- See Also:
- Constant Field Values
-
-
Method Detail
-
putAll
void putAll(Collection<WindowsStore.Entry> entries)
-
remove
void remove(String key)
-
removeAll
void removeAll(Collection<String> keys)
-
shutdown
void shutdown()
-
-