|
MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
Struct representing SSTable information in a manifest. 更多...
#include <ob_manifest.h>
Public 成员函数 | |
| ObManifestSSTableInfo (int sstable_id_, int level_) | |
| Constructor to initialize with given SSTable ID and level. 更多... | |
| ObManifestSSTableInfo () | |
| bool | operator== (const ObManifestSSTableInfo &rhs) const |
Equality operator for comparing two ObManifestSSTableInfo objects. 更多... | |
| Json::Value | to_json () const |
Converts the ObManifestSSTableInfo object to a JSON value. 更多... | |
| RC | from_json (const Json::Value &v) |
Populates the ObManifestSSTableInfo object from a JSON value. 更多... | |
Public 属性 | |
| int | sstable_id |
| The ID of the SSTable. | |
| int | level |
| The level of the SSTable. | |
Struct representing SSTable information in a manifest.
This struct contains metadata about an SSTable, including its ID and level.
|
inline |
Constructor to initialize with given SSTable ID and level.
| sstable_id_ | The SSTable ID. |
| level_ | The SSTable level. |
|
inline |
Default constructor with default values (0).
| RC oceanbase::ObManifestSSTableInfo::from_json | ( | const Json::Value & | v | ) |
Populates the ObManifestSSTableInfo object from a JSON value.
| v | The JSON value to populate the object with. |
|
inline |
Equality operator for comparing two ObManifestSSTableInfo objects.
| rhs | The other ObManifestSSTableInfo to compare with. |
true if the two objects are equal, false otherwise.
|
inline |
Converts the ObManifestSSTableInfo object to a JSON value.