A column contains multiple values in contiguous memory with a specified type.
更多...
|
| Column (const Column &)=delete |
|
| Column (Column &&)=delete |
|
| Column (const FieldMeta &meta, size_t size=DEFAULT_CAPACITY) |
|
| Column (AttrType attr_type, int attr_len, size_t size=DEFAULT_CAPACITY) |
|
void | init (const FieldMeta &meta, size_t size=DEFAULT_CAPACITY) |
|
void | init (AttrType attr_type, int attr_len, size_t size=DEFAULT_CAPACITY) |
|
void | init (const Value &value) |
|
void | reset () |
|
RC | append_one (char *data) |
|
RC | append (char *data, int count) |
| 向 Column 追加写入数据 更多...
|
|
Value | get_value (int index) const |
| 获取 index 位置的列值
|
|
int | data_len () const |
| 获取列数据的实际大小(字节)
|
|
char * | data () const |
|
void | reset_data () |
| 重置列数据,但不修改元信息
|
|
void | reference (const Column &column) |
| 引用另一个 Column
|
|
void | set_column_type (Type column_type) |
|
void | set_count (int count) |
|
int | count () const |
|
int | capacity () const |
|
AttrType | attr_type () const |
|
int | attr_len () const |
|
Type | column_type () const |
|
A column contains multiple values in contiguous memory with a specified type.