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(Byte[])
Declaration
public void Delete(byte[] key)
Parameters
Type |
Name |
Description |
Byte[] |
key |
|
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Exists(Byte[])
Declaration
public bool Exists(byte[] key)
Parameters
Type |
Name |
Description |
Byte[] |
key |
|
Returns
|
Improve this Doc
View Source
Get(Byte[])
Declaration
public byte[] Get(byte[] key)
Parameters
Type |
Name |
Description |
Byte[] |
key |
|
Returns
|
Improve this Doc
View Source
ListKeys()
Declaration
public IEnumerable<byte[]> ListKeys()
Returns
|
Improve this Doc
View Source
Set(Byte[], Byte[])
Declaration
public void Set(byte[] key, byte[] value)
Parameters
Type |
Name |
Description |
Byte[] |
key |
|
Byte[] |
value |
|
Implements
IDisposable