MySQL  8.0.17
Source Code Documentation
PT_select_stmt Class Reference

#include <parse_tree_nodes.h>

Inheritance diagram for PT_select_stmt:
Parse_tree_root

Public Member Functions

 PT_select_stmt (enum_sql_command sql_command, PT_query_expression *qe)
 
 PT_select_stmt (PT_query_expression *qe, PT_into_destination *into)
 Creates a SELECT command. More...
 
 PT_select_stmt (PT_query_expression *qe)
 
Sql_cmdmake_cmd (THD *thd) override
 

Private Types

typedef Parse_tree_root super
 

Private Attributes

enum_sql_command m_sql_command
 
PT_query_expressionm_qe
 
PT_into_destinationm_into
 

Additional Inherited Members

- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()
 
 Parse_tree_root ()
 

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_select_stmt() [1/3]

PT_select_stmt::PT_select_stmt ( enum_sql_command  sql_command,
PT_query_expression qe 
)
inline
Parameters
qeThe query expression.
sql_commandThe type of SQL command.

◆ PT_select_stmt() [2/3]

PT_select_stmt::PT_select_stmt ( PT_query_expression qe,
PT_into_destination into 
)
inline

Creates a SELECT command.

Only SELECT commands can have into.

Parameters
qeThe query expression.
intoThe trailing INTO destination.

◆ PT_select_stmt() [3/3]

PT_select_stmt::PT_select_stmt ( PT_query_expression qe)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_select_stmt::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_into

PT_into_destination* PT_select_stmt::m_into
private

◆ m_qe

PT_query_expression* PT_select_stmt::m_qe
private

◆ m_sql_command

enum_sql_command PT_select_stmt::m_sql_command
private

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