Class RocksDBKeyValueStore
Inheritance
RocksDBKeyValueStore
Assembly: Libplanet.RocksDBStore.dll
Syntax
public class RocksDBKeyValueStore : IKeyValueStore, IDisposable
Constructors
|
Improve this Doc
View Source
RocksDBKeyValueStore(String)
Declaration
public RocksDBKeyValueStore(string path)
Parameters
Type |
Name |
Description |
String |
path |
The path of the storage file will be saved.
|
Methods
|
Improve this Doc
View Source
Delete(in KeyBytes)
Deletes the given key. If the key does not exist, nothing happens.
Declaration
public void Delete(in KeyBytes key)
Parameters
Type |
Name |
Description |
KeyBytes |
key |
A key to delete.
|
|
Improve this Doc
View Source
Delete(IEnumerable<KeyBytes>)
Declaration
public void Delete(IEnumerable<KeyBytes> keys)
Parameters
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Exists(in KeyBytes)
Declaration
public bool Exists(in KeyBytes key)
Parameters
Returns
|
Improve this Doc
View Source
Get(in KeyBytes)
Declaration
public byte[] Get(in KeyBytes key)
Parameters
Returns
|
Improve this Doc
View Source
Get(IEnumerable<KeyBytes>)
Declaration
public IReadOnlyDictionary<KeyBytes, byte[]> Get(IEnumerable<KeyBytes> keys)
Parameters
Returns
|
Improve this Doc
View Source
ListKeys()
Declaration
public IEnumerable<KeyBytes> ListKeys()
Returns
|
Improve this Doc
View Source
Set(in KeyBytes, Byte[])
Declaration
public void Set(in KeyBytes key, byte[] value)
Parameters
|
Improve this Doc
View Source
Set(IDictionary<KeyBytes, Byte[]>)
Declaration
public void Set(IDictionary<KeyBytes, byte[]> values)
Parameters
Implements
IDisposable