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

Represents a new memtable of ObLsm. 更多...

#include <ob_manifest.h>

Public 成员函数

bool operator== (const ObManifestNewMemtable &rhs) const
 
Json::Value to_json () const
 Converts the ObManifestNewMemtable to a JSON value. 更多...
 
RC from_json (const Json::Value &v)
 Populates the ObManifestNewMemtable object from a JSON value. 更多...
 

静态 Public 成员函数

static string record_type ()
 

Public 属性

uint64_t memtable_id
 The id of memtable and it is used to find the WAL file of memtable.(e.g., memtable=1, WAL file = 1.wal)
 

详细描述

Represents a new memtable of ObLsm.

It is used to recover the latest memtable.

成员函数说明

◆ from_json()

RC oceanbase::ObManifestNewMemtable::from_json ( const Json::Value &  v)

Populates the ObManifestNewMemtable object from a JSON value.

参数
vThe JSON value to populate the object with.
返回
An RC indicating the result of the operation.

◆ to_json()

Json::Value oceanbase::ObManifestNewMemtable::to_json ( ) const

Converts the ObManifestNewMemtable to a JSON value.

返回
The JSON value representing the new memtable.

该类的文档由以下文件生成: