MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
Represents a record in the manifest, used for compaction operations. 更多...
#include <ob_manifest.h>
Public 成员函数 | |
bool | operator== (const ObManifestCompaction &rhs) const |
Json::Value | to_json () const |
Converts the ObManifestCompaction to a JSON value. 更多... | |
RC | from_json (const Json::Value &v) |
Populates the ObManifestCompaction object from a JSON value. 更多... | |
静态 Public 成员函数 | |
static string | record_type () |
Public 属性 | |
CompactionType | compaction_type |
The type of compaction (e.g., level) | |
std::vector< ObManifestSSTableInfo > | deleted_tables |
List of deleted SSTables. | |
std::vector< ObManifestSSTableInfo > | added_tables |
List of added SSTables. | |
uint64_t | sstable_sequence_id |
Sequence ID for SSTables. | |
uint64_t | seq_id |
Sequence ID for the record. | |
Represents a record in the manifest, used for compaction operations.
Contains information about SSTables that have been added or deleted during a compaction.
RC oceanbase::ObManifestCompaction::from_json | ( | const Json::Value & | v | ) |
Populates the ObManifestCompaction
object from a JSON value.
v | The JSON value to populate the object with. |
Json::Value oceanbase::ObManifestCompaction::to_json | ( | ) | const |
Converts the ObManifestCompaction
to a JSON value.