MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
键值比较(BplusTree) 更多...
#include <bplus_tree.h>
Public 成员函数 | |
void | init (AttrType type, int length) |
const AttrComparator & | attr_comparator () const |
int | operator() (const char *v1, const char *v2) const |
Private 属性 | |
AttrComparator | attr_comparator_ |
键值比较(BplusTree)
BplusTree的键值除了字段属性,还有RID,是为了避免属性值重复而增加的。