Batch of changes queued to be written to a CDBWrapper

Synopsis

Declared in <dbwrapper.h>

class CDBBatch;

Member Functions

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.

Friends

Name

Description

CDBWrapper

Wraps a LevelDB database, providing typed, serialized key‐value access.

Created with MrDocs