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

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< ObManifestSSTableInfodeleted_tables
 List of deleted SSTables.
 
std::vector< ObManifestSSTableInfoadded_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.

成员函数说明

◆ from_json()

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

Populates the ObManifestCompaction 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::ObManifestCompaction::to_json ( ) const

Converts the ObManifestCompaction to a JSON value.

返回
The JSON value representing the record.

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