![]() |
Bitcoin Core
26.1.0
P2P Digital Currency
|
Batch of changes queued to be written to a CDBWrapper. More...
#include <dbwrapper.h>
Classes | |
| struct | WriteBatchImpl |
Public Member Functions | |
| CDBBatch (const CDBWrapper &_parent) | |
| ~CDBBatch () | |
| void | Clear () |
| template<typename K , typename V > | |
| void | Write (const K &key, const V &value) |
| template<typename K > | |
| void | Erase (const K &key) |
| size_t | SizeEstimate () const |
Private Member Functions | |
| void | WriteImpl (Span< const std::byte > key, DataStream &ssValue) |
| void | EraseImpl (Span< const std::byte > key) |
Private Attributes | |
| const CDBWrapper & | parent |
| const std::unique_ptr< WriteBatchImpl > | m_impl_batch |
| DataStream | ssKey {} |
| DataStream | ssValue {} |
| size_t | size_estimate {0} |
Friends | |
| class | CDBWrapper |
Batch of changes queued to be written to a CDBWrapper.
Definition at line 72 of file dbwrapper.h.
|
explicit |
| [in] | _parent | CDBWrapper that this batch is to be submitted to |
Definition at line 158 of file dbwrapper.cpp.
|
default |
| void CDBBatch::Clear | ( | ) |
|
inline |
Definition at line 111 of file dbwrapper.h.
|
private |
Definition at line 186 of file dbwrapper.cpp.
|
inline |
|
inline |
Definition at line 99 of file dbwrapper.h.
|
private |
Definition at line 170 of file dbwrapper.cpp.
|
friend |
Definition at line 74 of file dbwrapper.h.
|
private |
Definition at line 79 of file dbwrapper.h.
|
private |
Definition at line 77 of file dbwrapper.h.
|
private |
Definition at line 85 of file dbwrapper.h.
|
private |
Definition at line 82 of file dbwrapper.h.
|
private |
Definition at line 83 of file dbwrapper.h.
1.8.14