MySQL 9.1.0
Source Code Documentation
PT_delete Class Referencefinal

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

#include <parse_tree_nodes.h>

Inheritance diagram for PT_delete:
[legend]

Public Member Functions

 PT_delete (const POS &pos, PT_with_clause *with_clause_arg, PT_hint_list *opt_hints_arg, int opt_delete_options_arg, Table_ident *table_ident_arg, const LEX_CSTRING &opt_table_alias_arg, List< String > *opt_use_partition_arg, Item *opt_where_clause_arg, PT_order *opt_order_clause_arg, Item *opt_delete_limit_clause_arg)
 
 PT_delete (const POS &pos, PT_with_clause *with_clause_arg, PT_hint_list *opt_hints_arg, int opt_delete_options_arg, const Mem_root_array_YY< Table_ident * > &table_list_arg, const Mem_root_array_YY< PT_table_reference * > &join_table_list_arg, Item *opt_where_clause_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 is_multitable () const
 
bool add_table (Parse_context *pc, Table_ident *table)
 

Private Attributes

PT_with_clausem_with_clause
 
PT_hint_listopt_hints
 
const int opt_delete_options
 
Table_identtable_ident
 
const char *const opt_table_alias
 
Mem_root_array_YY< Table_ident * > table_list {}
 
List< String > * opt_use_partition
 
Mem_root_array_YY< PT_table_reference * > join_table_list {}
 
Itemopt_where_clause
 
PT_orderopt_order_clause
 
Itemopt_delete_limit_clause
 
SQL_I_List< Table_refdelete_tables
 

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 DELETE statement.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_delete() [1/2]

PT_delete::PT_delete ( const POS pos,
PT_with_clause with_clause_arg,
PT_hint_list opt_hints_arg,
int  opt_delete_options_arg,
Table_ident table_ident_arg,
const LEX_CSTRING opt_table_alias_arg,
List< String > *  opt_use_partition_arg,
Item opt_where_clause_arg,
PT_order opt_order_clause_arg,
Item opt_delete_limit_clause_arg 
)
inline

◆ PT_delete() [2/2]

PT_delete::PT_delete ( const POS pos,
PT_with_clause with_clause_arg,
PT_hint_list opt_hints_arg,
int  opt_delete_options_arg,
const Mem_root_array_YY< Table_ident * > &  table_list_arg,
const Mem_root_array_YY< PT_table_reference * > &  join_table_list_arg,
Item opt_where_clause_arg 
)
inline

Member Function Documentation

◆ add_table()

bool PT_delete::add_table ( Parse_context pc,
Table_ident table 
)
private

◆ is_multitable()

bool PT_delete::is_multitable ( ) const
inlineprivate

◆ make_cmd()

Sql_cmd * PT_delete::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ delete_tables

SQL_I_List<Table_ref> PT_delete::delete_tables
private

◆ join_table_list

Mem_root_array_YY<PT_table_reference *> PT_delete::join_table_list {}
private

◆ m_with_clause

PT_with_clause* PT_delete::m_with_clause
private

◆ opt_delete_limit_clause

Item* PT_delete::opt_delete_limit_clause
private

◆ opt_delete_options

const int PT_delete::opt_delete_options
private

◆ opt_hints

PT_hint_list* PT_delete::opt_hints
private

◆ opt_order_clause

PT_order* PT_delete::opt_order_clause
private

◆ opt_table_alias

const char* const PT_delete::opt_table_alias
private

◆ opt_use_partition

List<String>* PT_delete::opt_use_partition
private

◆ opt_where_clause

Item* PT_delete::opt_where_clause
private

◆ table_ident

Table_ident* PT_delete::table_ident
private

◆ table_list

Mem_root_array_YY<Table_ident *> PT_delete::table_list {}
private

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