![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#include <RocksDB.h>
Public Member Functions | |
| RocksDB (boost::filesystem::path const &_path, rocksdb::ReadOptions _readOptions=defaultReadOptions(), rocksdb::WriteOptions _writeOptions=defaultWriteOptions(), rocksdb::Options _dbOptions=defaultDBOptions()) | |
| std::string | lookup (Slice _key) const override |
| bool | exists (Slice _key) const override |
| void | insert (Slice _key, Slice _value) override |
| void | kill (Slice _key) override |
| std::unique_ptr< WriteBatchFace > | createWriteBatch () const override |
| void | commit (std::unique_ptr< WriteBatchFace > _batch) override |
| void | forEach (std::function< bool(Slice, Slice)> f) const override |
Public Member Functions inherited from dev::db::DatabaseFace | |
| virtual | ~DatabaseFace ()=default |
Static Public Member Functions | |
| static rocksdb::ReadOptions | defaultReadOptions () |
| static rocksdb::WriteOptions | defaultWriteOptions () |
| static rocksdb::Options | defaultDBOptions () |
|
explicit |
Definition at line 116 of file RocksDB.cpp.
|
overridevirtual |
Implements dev::db::DatabaseFace.
Definition at line 175 of file RocksDB.cpp.
|
overridevirtual |
Implements dev::db::DatabaseFace.
Definition at line 170 of file RocksDB.cpp.
|
static |
Definition at line 108 of file RocksDB.cpp.
|
static |
Definition at line 98 of file RocksDB.cpp.
|
static |
Definition at line 103 of file RocksDB.cpp.
|
overridevirtual |
Implements dev::db::DatabaseFace.
Definition at line 140 of file RocksDB.cpp.
Implements dev::db::DatabaseFace.
Definition at line 188 of file RocksDB.cpp.
Implements dev::db::DatabaseFace.
Definition at line 155 of file RocksDB.cpp.
|
overridevirtual |
Implements dev::db::DatabaseFace.
Definition at line 163 of file RocksDB.cpp.
|
overridevirtual |
Implements dev::db::DatabaseFace.
Definition at line 128 of file RocksDB.cpp.