MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
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.
RC oceanbase::ObManifestNewMemtable::from_json | ( | const Json::Value & | v | ) |
Populates the ObManifestNewMemtable
object from a JSON value.
v | The JSON value to populate the object with. |
Json::Value oceanbase::ObManifestNewMemtable::to_json | ( | ) | const |
Converts the ObManifestNewMemtable
to a JSON value.