17#include "storage/index/index.h"
18#include "storage/index/bplus_tree.h"
30 RC create(
const char *file_name,
const IndexMeta &index_meta,
const FieldMeta &field_meta);
31 RC open(
const char *file_name,
const IndexMeta &index_meta,
const FieldMeta &field_meta);
41 int right_len,
bool right_inclusive)
override;
61 RC destroy()
override;
63 RC open(
const char *left_key,
int left_len,
bool left_inclusive,
const char *right_key,
int right_len,
64 bool right_inclusive);
B+树的实现
Definition: bplus_tree.h:459
B+树索引扫描器
Definition: bplus_tree_index.h:55
RC next_entry(RID *rid) override
Definition: bplus_tree_index.cpp:133
B+树索引
Definition: bplus_tree_index.h:25
RC sync() override
同步索引数据到磁盘
Definition: bplus_tree_index.cpp:113
RC insert_entry(const char *record, const RID *rid) override
插入一条数据
Definition: bplus_tree_index.cpp:90
RC delete_entry(const char *record, const RID *rid) override
删除一条数据
Definition: bplus_tree_index.cpp:95
IndexScanner * create_scanner(const char *left_key, int left_len, bool left_inclusive, const char *right_key, int right_len, bool right_inclusive) override
Definition: bplus_tree_index.cpp:100
B+树的扫描器
Definition: bplus_tree.h:593
索引扫描器
Definition: index.h:96
索引基类
Definition: index.h:38
标识一个记录的位置 一个记录是放在某个文件的某个页面的某个槽位。这里不记录文件信息,记录页面和槽位信息
Definition: record.h:35