MySQL  8.0.18
Source Code Documentation
PT_create_index_stmt Class Referencefinal

#include <parse_tree_nodes.h>

Inheritance diagram for PT_create_index_stmt:
PT_table_ddl_stmt_base Parse_tree_root

Public Member Functions

 PT_create_index_stmt (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 (MEM_ROOT *mem_root)
 
virtual ~PT_table_ddl_stmt_base ()=0
 

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

- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()
 
 Parse_tree_root ()
 
- 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 ( 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: