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

创建索引的语句 更多...

#include <create_index_stmt.h>

类 CreateIndexStmt 继承关系图:
Stmt

Public 成员函数

 CreateIndexStmt (Table *table, const FieldMeta *field_meta, const std::string &index_name)
 
StmtType type () const override
 
Tabletable () const
 
const FieldMetafield_meta () const
 
const std::string & index_name () const
 
virtual StmtType type () const =0
 

静态 Public 成员函数

static RC create (Db *db, const CreateIndexSqlNode &create_index, Stmt *&stmt)
 
- 静态 Public 成员函数 继承自 Stmt
static RC create_stmt (Db *db, ParsedSqlNode &sql_node, Stmt *&stmt)
 

Private 属性

Tabletable_ = nullptr
 
const FieldMetafield_meta_ = nullptr
 
std::string index_name_
 

详细描述

创建索引的语句

成员函数说明

◆ type()

StmtType CreateIndexStmt::type ( ) const
inlineoverridevirtual

实现了 Stmt.


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