MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Protected 属性 | 所有成员列表
FieldMeta类 参考

字段元数据 更多...

#include <field_meta.h>

Public 成员函数

 FieldMeta (const char *name, AttrType attr_type, int attr_offset, int attr_len, bool visible)
 
RC init (const char *name, AttrType attr_type, int attr_offset, int attr_len, bool visible)
 
const char * name () const
 
AttrType type () const
 
int offset () const
 
int len () const
 
bool visible () const
 
void desc (std::ostream &os) const
 
void to_json (Json::Value &json_value) const
 

静态 Public 成员函数

static RC from_json (const Json::Value &json_value, FieldMeta &field)
 

Protected 属性

std::string name_
 
AttrType attr_type_
 
int attr_offset_
 
int attr_len_
 
bool visible_
 

详细描述

字段元数据


该类的文档由以下文件生成: