MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
A structure representing a record in the Write-Ahead Log (WAL). Each record contains a sequence number, a key, and a value. 更多...
#include <ob_lsm_wal.h>
Public 成员函数 | |
WalRecord (uint64_t s, std::string k, std::string v) | |
Parameterized constructor to create a new WalRecord object. 更多... | |
Public 属性 | |
uint64_t | seq |
std::string | key |
std::string | val |
A structure representing a record in the Write-Ahead Log (WAL). Each record contains a sequence number, a key, and a value.
|
inline |
Parameterized constructor to create a new WalRecord object.
s | The sequence number. |
k | The key. |
v | The value. |
std::string oceanbase::WalRecord::key |
The key associated with the record.
uint64_t oceanbase::WalRecord::seq |
Sequence number of the record, used to identify the order of records.
std::string oceanbase::WalRecord::val |
The value associated with the record.