MySQL  8.0.18
Source Code Documentation
PT_show_fields_and_keys Class Reference

Base class for Parse tree nodes of SHOW FIELDS/SHOW INDEX statements. More...

#include <parse_tree_nodes.h>

Inheritance diagram for PT_show_fields_and_keys:
Parse_tree_root PT_show_fields PT_show_keys

Public Member Functions

Sql_cmdmake_cmd (THD *thd) override
 

Protected Types

enum  Type { SHOW_FIELDS = SQLCOM_SHOW_FIELDS, SHOW_KEYS = SQLCOM_SHOW_KEYS }
 

Protected Member Functions

 PT_show_fields_and_keys (const POS &pos, Type type, Table_ident *table_ident, const LEX_STRING &wild, Item *where_condition)
 
- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()
 
 Parse_tree_root ()
 

Private Attributes

Sql_cmd_show m_sql_cmd
 
POS m_pos
 
Type m_type
 
Table_identm_table_ident
 
LEX_STRING m_wild
 
Itemm_where_condition
 

Detailed Description

Base class for Parse tree nodes of SHOW FIELDS/SHOW INDEX statements.

Member Enumeration Documentation

◆ Type

Enumerator
SHOW_FIELDS 
SHOW_KEYS 

Constructor & Destructor Documentation

◆ PT_show_fields_and_keys()

PT_show_fields_and_keys::PT_show_fields_and_keys ( const POS pos,
Type  type,
Table_ident table_ident,
const LEX_STRING wild,
Item where_condition 
)
inlineprotected

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_show_fields_and_keys::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Reimplemented in PT_show_keys, and PT_show_fields.

Member Data Documentation

◆ m_pos

POS PT_show_fields_and_keys::m_pos
private

◆ m_sql_cmd

Sql_cmd_show PT_show_fields_and_keys::m_sql_cmd
private

◆ m_table_ident

Table_ident* PT_show_fields_and_keys::m_table_ident
private

◆ m_type

Type PT_show_fields_and_keys::m_type
private

◆ m_where_condition

Item* PT_show_fields_and_keys::m_where_condition
private

◆ m_wild

LEX_STRING PT_show_fields_and_keys::m_wild
private

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