Tkrzw
|
Interface of processor for a record. More...
#include <tkrzw_dbm.h>
Public Member Functions | |
virtual | ~RecordProcessor ()=default |
Destructor. More... | |
virtual std::string_view | ProcessFull (std::string_view key, std::string_view value) |
Processes an existing record. More... | |
virtual std::string_view | ProcessEmpty (std::string_view key) |
Processes an empty record space. More... | |
Static Public Attributes | |
static const std::string_view | NOOP |
The special string indicating no operation. More... | |
static const std::string_view | REMOVE |
The special string indicating removing operation. More... | |
Interface of processor for a record.
|
virtualdefault |
Destructor.
|
virtual |
Processes an existing record.
key | The key of the existing record. |
value | The value of the existing record. |
Reimplemented in tkrzw::DBM::RecordProcessorIteratorRemove, tkrzw::DBM::RecordProcessorIteratorSet, tkrzw::DBM::RecordProcessorIteratorGet, tkrzw::DBM::RecordProcessorExport, tkrzw::DBM::RecordProcessorRemove, tkrzw::DBM::RecordProcessorIncrement, tkrzw::DBM::RecordProcessorCompareExchange, tkrzw::DBM::RecordProcessorAppend, tkrzw::DBM::RecordProcessorSet, and tkrzw::DBM::RecordProcessorGet.
|
virtual |
Processes an empty record space.
key | The key of the existing record. |
Reimplemented in tkrzw::DBM::RecordProcessorRemove, tkrzw::DBM::RecordProcessorIncrement, tkrzw::DBM::RecordProcessorCompareExchange, tkrzw::DBM::RecordProcessorAppend, tkrzw::DBM::RecordProcessorSet, and tkrzw::DBM::RecordProcessorGet.
|
static |
The special string indicating no operation.
|
static |
The special string indicating removing operation.