|
Kagome
Polkadot Runtime Engine in C++17
|
A mixin for a map that supports batching for efficiency of modifications. More...
#include <batch_writeable.hpp>
Public Member Functions | |
| virtual | ~BatchWriteable ()=default |
| virtual std::unique_ptr< WriteBatch< K, V > > | batch ()=0 |
| Creates new Write Batch - an object, which can be used to efficiently write bulk data. More... | |
A mixin for a map that supports batching for efficiency of modifications.
| K | key type |
| V | value type |
Definition at line 23 of file batch_writeable.hpp.
|
virtualdefault |
|
pure virtual |
Creates new Write Batch - an object, which can be used to efficiently write bulk data.
Implemented in kagome::storage::InMemoryStorage, kagome::storage::RocksDB, and kagome::storage::trie::TrieStorageBackendImpl.