MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
internal key comparator 更多...
#include <ob_comparator.h>
Public 成员函数 | |
int | compare (const string_view &a, const string_view &b) const override |
Three-way comparison. 更多... | |
const ObComparator * | user_comparator () const |
virtual int | compare (const string_view &a, const string_view &b) const =0 |
Three-way comparison. 更多... | |
Private 属性 | |
ObDefaultComparator | default_comparator_ |
internal key comparator
internal key: | key_size(8B) | key | sequence_number(8B) |
|
overridevirtual |
Three-way comparison.