MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
Represents a snapshot of the manifest. 更多...
#include <ob_manifest.h>
Public 成员函数 | |
bool | operator== (const ObManifestSnapshot &rhs) const |
Json::Value | to_json () const |
Converts the ObManifestSnapshot to a JSON value. 更多... | |
RC | from_json (const Json::Value &v) |
Populates the ObManifestSnapshot object from a JSON value. 更多... | |
静态 Public 成员函数 | |
static string | record_type () |
Represents a snapshot of the manifest.
Contains information about the current state of the SSTables.
RC oceanbase::ObManifestSnapshot::from_json | ( | const Json::Value & | v | ) |
Populates the ObManifestSnapshot
object from a JSON value.
v | The JSON value to populate the object with. |
Json::Value oceanbase::ObManifestSnapshot::to_json | ( | ) | const |
Converts the ObManifestSnapshot
to a JSON value.