MySQL  8.0.17
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:
Parse_tree_root

Public Member Functions

 PT_insert (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 *insert_query_expression_arg, PT_item_list *opt_on_duplicate_column_list_arg, PT_item_list *opt_on_duplicate_value_list_arg)
 
virtual Sql_cmdmake_cmd (THD *thd)
 

Private Member Functions

bool has_select () 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_list *const row_value_list
 
PT_query_expression *const insert_query_expression
 
PT_item_list *const opt_on_duplicate_column_list
 
PT_item_list *const opt_on_duplicate_value_list
 

Additional Inherited Members

- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()
 
 Parse_tree_root ()
 

Detailed Description

Top-level node for the INSERT statement.

Constructor & Destructor Documentation

◆ PT_insert()

PT_insert::PT_insert ( 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 insert_query_expression_arg,
PT_item_list opt_on_duplicate_column_list_arg,
PT_item_list opt_on_duplicate_value_list_arg 
)
inline

Member Function Documentation

◆ has_select()

bool PT_insert::has_select ( ) const
inlineprivate

◆ make_cmd()

Sql_cmd * PT_insert::make_cmd ( THD thd)
virtual

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* const 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

◆ row_value_list

PT_insert_values_list* const 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: