MySQL 8.4.2
Source Code Documentation
Parse_tree_root Class Referenceabstract

Base class for all top-level nodes of SQL statements. More...

#include <parse_tree_nodes.h>

Inheritance diagram for Parse_tree_root:
[legend]

Public Member Functions

virtual Sql_cmdmake_cmd (THD *thd)=0
 
virtual std::string get_printable_parse_tree (THD *thd)
 

Public Attributes

POS m_pos
 Textual location of a token just parsed. More...
 

Protected Member Functions

 Parse_tree_root ()=default
 
 Parse_tree_root (const POS &pos)
 
virtual ~Parse_tree_root ()=default
 

Private Member Functions

 Parse_tree_root (const Parse_tree_root &)=delete
 
void operator= (const Parse_tree_root &)=delete
 

Detailed Description

Base class for all top-level nodes of SQL statements.

Constructor & Destructor Documentation

◆ Parse_tree_root() [1/3]

Parse_tree_root::Parse_tree_root ( const Parse_tree_root )
privatedelete

◆ Parse_tree_root() [2/3]

Parse_tree_root::Parse_tree_root ( )
protecteddefault

◆ Parse_tree_root() [3/3]

Parse_tree_root::Parse_tree_root ( const POS pos)
inlineexplicitprotected

◆ ~Parse_tree_root()

virtual Parse_tree_root::~Parse_tree_root ( )
protectedvirtualdefault

Member Function Documentation

◆ get_printable_parse_tree()

virtual std::string Parse_tree_root::get_printable_parse_tree ( THD thd)
inlinevirtual

Reimplemented in PT_select_stmt.

◆ make_cmd()

virtual Sql_cmd * Parse_tree_root::make_cmd ( THD thd)
pure virtual

Implemented in PT_shutdown, PT_handler_open, PT_handler_close, PT_handler_table_scan, PT_handler_index_scan, PT_handler_index_range_scan, PT_select_stmt, PT_delete, PT_update, PT_insert, PT_call, PT_create_srs, PT_drop_srs, PT_alter_instance, PT_create_index_stmt, PT_create_table_stmt, PT_create_role, PT_drop_role, PT_set_role, PT_grant_roles, PT_revoke_roles, PT_alter_user_default_role, PT_show_routine_code, PT_show_binlog_events, PT_show_binlogs, PT_show_charsets, PT_show_collations, PT_show_count_errors, PT_show_count_warnings, PT_show_create_database, PT_show_create_event, PT_show_create_function, PT_show_create_procedure, PT_show_create_table, PT_show_create_trigger, PT_show_create_user, PT_show_create_view, PT_show_databases, PT_show_engine_logs, PT_show_engine_mutex, PT_show_engine_status, PT_show_engines, PT_show_errors, PT_show_events, PT_show_fields, PT_show_grants, PT_show_keys, PT_show_binary_log_status, PT_show_open_tables, PT_show_plugins, PT_show_privileges, PT_show_parse_tree, PT_show_processlist, PT_show_profile, PT_show_profiles, PT_show_relaylog_events, PT_show_replicas, PT_show_replica_status, PT_show_status, PT_show_status_func, PT_show_status_proc, PT_show_table_status, PT_show_tables, PT_show_triggers, PT_show_variables, PT_show_warnings, PT_alter_table_stmt, PT_alter_table_standalone_stmt, PT_repair_table_stmt, PT_analyze_table_stmt, PT_check_table_stmt, PT_optimize_table_stmt, PT_drop_index_stmt, PT_truncate_table_stmt, PT_cache_index_stmt, PT_cache_index_partitions_stmt, PT_load_index_partitions_stmt, PT_load_index_stmt, PT_create_resource_group, PT_alter_resource_group, PT_drop_resource_group, PT_set_resource_group, PT_explain_for_connection, PT_explain, PT_load_table, PT_restart_server, and PT_install_component.

◆ operator=()

void Parse_tree_root::operator= ( const Parse_tree_root )
privatedelete

Member Data Documentation

◆ m_pos

POS Parse_tree_root::m_pos

Textual location of a token just parsed.


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