...
- MemoryStore: A key value store that keep the values in memory only
- FileStore: A key value store that keeps the data in main memory and stores it additionally to disk
- With a plugin you could write to a Redis-Store.
Creating a store
A store can be created with the Odysseus Script command: #CREATE_KV_STORE name type (PARAM_1_KEY=PARAM_1_VALUE,..., PARAM_N_KEY=PARAM_N_VALUE)
...
You could also use an operator to write to an existing store:
StoreWriter
Code Block |
---|
#PARSER PQL #RUNQUERY timer = TIMER({ period = 1000, source = 'timersource' } ) out = StoreWriter({IdAttribute='time', store="test2")},timer) |
...