17#include "storage/table/table.h"
18#include "storage/field/field_meta.h"
32 const Table *table()
const
41 AttrType attr_type()
const
43 return field_->type();
46 const char *table_name()
const
48 return table_->name();
50 const char *field_name()
const
52 return field_->name();
55 void set_table(
const Table *table)
64 void set_int(
Record &record,
int value);
65 int get_int(
const Record &record);
67 const char *get_data(
const Record &record);
70 const Table *table_ =
nullptr;
表示一个记录 当前的记录都是连续存放的空间(内存或磁盘上)。 为了提高访问的效率,record通常直接记录指向页面上的内存,但是需要保证访问这种数据时,拿着锁资源。 为了方便,也提供了复制内存的方法。可...
Definition: record.h:92