MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
oceanbase::WalRecord结构体 参考

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.

构造及析构函数说明

◆ WalRecord()

oceanbase::WalRecord::WalRecord ( uint64_t  s,
std::string  k,
std::string  v 
)
inline

Parameterized constructor to create a new WalRecord object.

参数
sThe sequence number.
kThe key.
vThe value.

类成员变量说明

◆ key

std::string oceanbase::WalRecord::key

The key associated with the record.

◆ seq

uint64_t oceanbase::WalRecord::seq

Sequence number of the record, used to identify the order of records.

◆ val

std::string oceanbase::WalRecord::val

The value associated with the record.


该结构体的文档由以下文件生成: