MySQL 9.1.0
Source Code Documentation
PT_insert Class Referencefinal

Top-level node for the INSERT statement. More...

#include <parse_tree_nodes.h>

Inheritance diagram for PT_insert:
[legend]

Public Member Functions

 PT_insert (const POS &pos, bool is_replace_arg, PT_hint_list *opt_hints_arg, thr_lock_type lock_option_arg, bool ignore_arg, Table_ident *table_ident_arg, List< String > *opt_use_partition_arg, PT_item_list *column_list_arg, PT_insert_values_list *row_value_list_arg, PT_query_expression_body *insert_query_expression_arg, const LEX_CSTRING &opt_values_table_alias_arg, Create_col_name_list *opt_values_column_list_arg, PT_item_list *opt_on_duplicate_column_list_arg, PT_item_list *opt_on_duplicate_value_list_arg)
 
Sql_cmdmake_cmd (THD *thd) override
 
- Public Member Functions inherited from Parse_tree_root
virtual std::string get_printable_parse_tree (THD *thd)
 

Private Types

typedef Parse_tree_root super
 

Private Member Functions

bool has_query_block () const
 

Private Attributes

const bool is_replace
 
PT_hint_listopt_hints
 
const thr_lock_type lock_option
 
const bool ignore
 
Table_ident *const table_ident
 
List< String > *const opt_use_partition
 
PT_item_list *const column_list
 
PT_insert_values_listrow_value_list
 
PT_query_expression_bodyinsert_query_expression
 
const char *const opt_values_table_alias
 
Create_col_name_list *const opt_values_column_list
 
PT_item_list *const opt_on_duplicate_column_list
 
PT_item_list *const opt_on_duplicate_value_list
 

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
 

Detailed Description

Top-level node for the INSERT statement.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_insert()

PT_insert::PT_insert ( const POS pos,
bool  is_replace_arg,
PT_hint_list opt_hints_arg,
thr_lock_type  lock_option_arg,
bool  ignore_arg,
Table_ident table_ident_arg,
List< String > *  opt_use_partition_arg,
PT_item_list column_list_arg,
PT_insert_values_list row_value_list_arg,
PT_query_expression_body insert_query_expression_arg,
const LEX_CSTRING opt_values_table_alias_arg,
Create_col_name_list opt_values_column_list_arg,
PT_item_list opt_on_duplicate_column_list_arg,
PT_item_list opt_on_duplicate_value_list_arg 
)
inline

Member Function Documentation

◆ has_query_block()

bool PT_insert::has_query_block ( ) const
inlineprivate

◆ make_cmd()

Sql_cmd * PT_insert::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ column_list

PT_item_list* const PT_insert::column_list
private

◆ ignore

const bool PT_insert::ignore
private

◆ insert_query_expression

PT_query_expression_body* PT_insert::insert_query_expression
private

◆ is_replace

const bool PT_insert::is_replace
private

◆ lock_option

const thr_lock_type PT_insert::lock_option
private

◆ opt_hints

PT_hint_list* PT_insert::opt_hints
private

◆ opt_on_duplicate_column_list

PT_item_list* const PT_insert::opt_on_duplicate_column_list
private

◆ opt_on_duplicate_value_list

PT_item_list* const PT_insert::opt_on_duplicate_value_list
private

◆ opt_use_partition

List<String>* const PT_insert::opt_use_partition
private

◆ opt_values_column_list

Create_col_name_list* const PT_insert::opt_values_column_list
private

◆ opt_values_table_alias

const char* const PT_insert::opt_values_table_alias
private

◆ row_value_list

PT_insert_values_list* PT_insert::row_value_list
private

◆ table_ident

Table_ident* const PT_insert::table_ident
private

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