MySQL 9.1.0
Source Code Documentation
PT_show_fields Class Referencefinal

Parse tree node for SHOW COLUMNS statement. More...

#include <parse_tree_nodes.h>

Inheritance diagram for PT_show_fields:
[legend]

Public Member Functions

 PT_show_fields (const POS &pos, Show_cmd_type show_cmd_type, Table_ident *table, LEX_STRING opt_wild={}, Item *opt_where=nullptr)
 
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 PT_show_table_base super
 

Private Attributes

Show_cmd_type m_show_cmd_type
 
Sql_cmd_show_columns m_sql_cmd
 

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 PT_show_table_base
 PT_show_table_base (const POS &pos, enum_sql_command sql_command, Table_ident *table_ident, const LEX_STRING &wild, Item *where)
 
bool make_table_base_cmd (THD *thd, bool *temporary)
 
- Protected Member Functions inherited from PT_show_filter_base
 PT_show_filter_base (const POS &pos, enum_sql_command sql_command, const LEX_STRING &wild, Item *where)
 
- Protected Member Functions inherited from PT_show_base
 PT_show_base (const POS &pos, enum_sql_command sql_command)
 
- Protected Member Functions inherited from Parse_tree_root
 Parse_tree_root ()=default
 
 Parse_tree_root (const POS &pos)
 
virtual ~Parse_tree_root ()=default
 
- Protected Attributes inherited from PT_show_table_base
Table_identm_table_ident
 Table used in the statement. More...
 
- Protected Attributes inherited from PT_show_filter_base
LEX_STRING m_wild
 Wild or where clause used in the statement. More...
 
Itemm_where
 
- Protected Attributes inherited from PT_show_base
enum_sql_command m_sql_command
 SQL command. More...
 

Detailed Description

Parse tree node for SHOW COLUMNS statement.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_show_fields()

PT_show_fields::PT_show_fields ( const POS pos,
Show_cmd_type  show_cmd_type,
Table_ident table,
LEX_STRING  opt_wild = {},
Item opt_where = nullptr 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_show_fields::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_show_cmd_type

Show_cmd_type PT_show_fields::m_show_cmd_type
private

◆ m_sql_cmd

Sql_cmd_show_columns PT_show_fields::m_sql_cmd
private

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