public class RocksDbKeyValueReader
extends java.lang.Object
| Constructor and Description |
|---|
RocksDbKeyValueReader(java.lang.String storeName,
java.lang.String dbPath,
org.apache.samza.config.Config config)
Construct the
RocksDbKeyValueReader with store's name,
database's path and Samza's config |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object key)
get the value from the key.
|
void |
stop() |
public RocksDbKeyValueReader(java.lang.String storeName,
java.lang.String dbPath,
org.apache.samza.config.Config config)
RocksDbKeyValueReader with store's name,
database's path and Samza's configstoreName - name of the RocksDb defined in the config filedbPath - path to the db directoryconfig - Samza's configpublic java.lang.Object get(java.lang.Object key)
key - the key of the value you want to getpublic void stop()