MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
Build a ObBlock in SSTable 更多...
#include <ob_block_builder.h>
Public 成员函数 | |
RC | add (const string_view &key, const string_view &value) |
string_view | finish () |
void | reset () |
string | last_key () const |
uint32_t | appro_size () |
Private 属性 | |
vector< uint32_t > | offsets_ |
string | data_ |
静态 Private 属性 | |
static const uint32_t | BLOCK_SIZE = 4 * 1024 |
Build a ObBlock in SSTable