MySQL 8.3.0
Source Code Documentation
PT_create_index_stmt Class Referencefinal

#include <parse_tree_nodes.h>

Inheritance diagram for PT_create_index_stmt:
[legend]

Public Member Functions

 PT_create_index_stmt (const POS &pos, MEM_ROOT *mem_root, keytype type_par, const LEX_STRING &name_arg, PT_base_index_option *type, Table_ident *table_ident, List< PT_key_part_specification > *cols, Index_options options, Alter_info::enum_alter_table_algorithm algo, Alter_info::enum_alter_table_lock lock)
 
Sql_cmdmake_cmd (THD *thd) override
 
- Public Member Functions inherited from PT_table_ddl_stmt_base
 PT_table_ddl_stmt_base (const POS &pos, MEM_ROOT *mem_root)
 
 ~PT_table_ddl_stmt_base () override=0
 
- Public Member Functions inherited from Parse_tree_root
virtual std::string get_printable_parse_tree (THD *thd)
 

Private Attributes

keytype m_keytype
 
LEX_STRING m_name
 
PT_base_index_optionm_type
 
Table_identm_table_ident
 
List< PT_key_part_specification > * m_columns
 
Index_options m_options
 
const Alter_info::enum_alter_table_algorithm m_algo
 
const Alter_info::enum_alter_table_lock m_lock
 

Additional Inherited Members

- Public Attributes inherited from Parse_tree_root
POS m_pos
 Textual location of a token just parsed. More...
 
- Protected Member Functions inherited from Parse_tree_root
 Parse_tree_root ()=default
 
 Parse_tree_root (const POS &pos)
 
virtual ~Parse_tree_root ()=default
 
- Protected Attributes inherited from PT_table_ddl_stmt_base
Alter_info m_alter_info
 

Constructor & Destructor Documentation

◆ PT_create_index_stmt()

PT_create_index_stmt::PT_create_index_stmt ( const POS pos,
MEM_ROOT mem_root,
keytype  type_par,
const LEX_STRING name_arg,
PT_base_index_option type,
Table_ident table_ident,
List< PT_key_part_specification > *  cols,
Index_options  options,
Alter_info::enum_alter_table_algorithm  algo,
Alter_info::enum_alter_table_lock  lock 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_create_index_stmt::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_algo

const Alter_info::enum_alter_table_algorithm PT_create_index_stmt::m_algo
private

◆ m_columns

List<PT_key_part_specification>* PT_create_index_stmt::m_columns
private

◆ m_keytype

keytype PT_create_index_stmt::m_keytype
private

◆ m_lock

const Alter_info::enum_alter_table_lock PT_create_index_stmt::m_lock
private

◆ m_name

LEX_STRING PT_create_index_stmt::m_name
private

◆ m_options

Index_options PT_create_index_stmt::m_options
private

◆ m_table_ident

Table_ident* PT_create_index_stmt::m_table_ident
private

◆ m_type

PT_base_index_option* PT_create_index_stmt::m_type
private

The documentation for this class was generated from the following files: