MySQL 8.2.0
Source Code Documentation
PT_explain Class Reference

#include <parse_tree_nodes.h>

Inheritance diagram for PT_explain:
[legend]

Public Member Functions

 PT_explain (const POS &pos, Explain_format_type format, bool is_analyze, bool is_explicit_format, Parse_tree_root *explainable_stmt, std::optional< std::string_view > explain_into_variable_name, LEX_CSTRING schema_name_for_explain)
 
Sql_cmdmake_cmd (THD *thd) override
 
- Public Member Functions inherited from Parse_tree_root
virtual std::string get_printable_parse_tree (THD *thd)
 

Private Attributes

const Explain_format_type m_format
 
const bool m_analyze
 
const bool m_explicit_format
 
Parse_tree_root *const m_explainable_stmt
 
std::optional< std::string_view > m_explain_into_variable_name
 
LEX_CSTRING m_schema_name_for_explain
 

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
 

Constructor & Destructor Documentation

◆ PT_explain()

PT_explain::PT_explain ( const POS pos,
Explain_format_type  format,
bool  is_analyze,
bool  is_explicit_format,
Parse_tree_root explainable_stmt,
std::optional< std::string_view >  explain_into_variable_name,
LEX_CSTRING  schema_name_for_explain 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_explain::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_analyze

const bool PT_explain::m_analyze
private

◆ m_explain_into_variable_name

std::optional<std::string_view> PT_explain::m_explain_into_variable_name
private

◆ m_explainable_stmt

Parse_tree_root* const PT_explain::m_explainable_stmt
private

◆ m_explicit_format

const bool PT_explain::m_explicit_format
private

◆ m_format

const Explain_format_type PT_explain::m_format
private

◆ m_schema_name_for_explain

LEX_CSTRING PT_explain::m_schema_name_for_explain
private

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