Batch of changes queued to be written to a CDBWrapper
Declared in <dbwrapper.h>
class CDBBatch;
| Name | Description |
|---|---|
CDBBatch [constructor] | Constructs a batch bound to the wrapper it will be submitted to. |
~CDBBatch [destructor] | Destroys the batch and releases its resources. |
ApproximateSize | Returns an estimate of the batch's serialized size in bytes. |
Clear | Removes all queued writes and erases from the batch. |
Erase | Queues an erase of the given key into the batch. |
Write | Queues a write of the given key and value into the batch. |
| Name | Description |
|---|---|
CDBWrapper | Wraps a LevelDB database, providing typed, serialized key-value access. |