MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
类 | |
struct | Inlined |
Public 成员函数 | |
string_t (uint32_t len) | |
string_t (const char *data, uint32_t len) | |
void | init (const char *data, uint32_t len) |
void | reset () |
string_t (const char *data) | |
string_t (const string &value) | |
bool | is_inlined () const |
const char * | data () const |
char * | get_data_writeable () const |
int | size () const |
bool | empty () const |
string | get_string () const |
bool | operator== (const string_t &r) const |
bool | operator!= (const string_t &r) const |
bool | operator> (const string_t &r) const |
bool | operator< (const string_t &r) const |
Public 属性 | |
union { | |
struct { | |
uint32_t length | |
char * ptr | |
} pointer | |
Inlined inlined | |
} | value |
静态 Public 属性 | |
static constexpr int | INLINE_LENGTH = 12 |