MySQL  8.0.18
Source Code Documentation
PT_query_specification Class Reference

#include <parse_tree_nodes.h>

Inheritance diagram for PT_query_specification:
PT_query_primary Parse_tree_node_tmpl< Context >

Public Member Functions

 PT_query_specification (PT_hint_list *opt_hints_arg, const Query_options &options_arg, PT_item_list *item_list_arg, PT_into_destination *opt_into1_arg, const Mem_root_array_YY< PT_table_reference *> &from_clause_arg, Item *opt_where_clause_arg, PT_group *opt_group_clause_arg, Item *opt_having_clause_arg, PT_window_list *opt_window_clause_arg)
 
 PT_query_specification (const Query_options &options_arg, PT_item_list *item_list_arg, const Mem_root_array_YY< PT_table_reference *> &from_clause_arg, Item *opt_where_clause_arg)
 
 PT_query_specification (const Query_options &options_arg, PT_item_list *item_list_arg)
 
bool contextualize (Parse_context *pc) override
 
bool has_into_clause () const override
 
bool is_union () const override
 
bool can_absorb_order_and_limit () const override
 
- Public Member Functions inherited from Parse_tree_node_tmpl< Context >
virtual ~Parse_tree_node_tmpl ()
 
bool is_contextualized () const
 
virtual bool contextualize (Context *pc)
 Do all context-sensitive things and mark the node as contextualized. More...
 
virtual bool contextualize_ (Context *)
 
Intermediate version of the contextualize() function More...
 
void error (Context *pc, const POS &pos) const
 syntax_error() function replacement for deferred reporting of syntax errors More...
 
void error (Context *pc, const POS &pos, const char *msg) const
 syntax_error() function replacement for deferred reporting of syntax errors More...
 
void errorf (Context *pc, const POS &pos, const char *format,...) const
 syntax_error() function replacement for deferred reporting of syntax errors More...
 

Private Types

typedef PT_query_primary super
 

Private Attributes

PT_hint_listopt_hints
 
Query_options options
 
PT_item_listitem_list
 
PT_into_destinationopt_into1
 
Mem_root_array_YY< PT_table_reference * > from_clause
 
Itemopt_where_clause
 
PT_groupopt_group_clause
 
Itemopt_having_clause
 
PT_window_listopt_window_clause
 

Additional Inherited Members

- Public Types inherited from Parse_tree_node_tmpl< Context >
typedef Context context_t
 
- Static Public Member Functions inherited from Parse_tree_node_tmpl< Context >
static void * operator new (size_t size, MEM_ROOT *mem_root, const std::nothrow_t &arg=std::nothrow) noexcept
 
static void operator delete (void *ptr, size_t size)
 
static void operator delete (void *, MEM_ROOT *, const std::nothrow_t &) noexcept
 
- Protected Member Functions inherited from Parse_tree_node_tmpl< Context >
 Parse_tree_node_tmpl ()
 

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_query_specification() [1/3]

PT_query_specification::PT_query_specification ( PT_hint_list opt_hints_arg,
const Query_options options_arg,
PT_item_list item_list_arg,
PT_into_destination opt_into1_arg,
const Mem_root_array_YY< PT_table_reference *> &  from_clause_arg,
Item opt_where_clause_arg,
PT_group opt_group_clause_arg,
Item opt_having_clause_arg,
PT_window_list opt_window_clause_arg 
)
inline

◆ PT_query_specification() [2/3]

PT_query_specification::PT_query_specification ( const Query_options options_arg,
PT_item_list item_list_arg,
const Mem_root_array_YY< PT_table_reference *> &  from_clause_arg,
Item opt_where_clause_arg 
)
inline

◆ PT_query_specification() [3/3]

PT_query_specification::PT_query_specification ( const Query_options options_arg,
PT_item_list item_list_arg 
)
inlineexplicit

Member Function Documentation

◆ can_absorb_order_and_limit()

bool PT_query_specification::can_absorb_order_and_limit ( ) const
inlineoverridevirtual

Implements PT_query_primary.

◆ contextualize()

bool PT_query_specification::contextualize ( Parse_context pc)
override

◆ has_into_clause()

bool PT_query_specification::has_into_clause ( ) const
inlineoverridevirtual

Implements PT_query_primary.

◆ is_union()

bool PT_query_specification::is_union ( ) const
inlineoverridevirtual

Implements PT_query_primary.

Member Data Documentation

◆ from_clause

Mem_root_array_YY<PT_table_reference *> PT_query_specification::from_clause
private

◆ item_list

PT_item_list* PT_query_specification::item_list
private

◆ opt_group_clause

PT_group* PT_query_specification::opt_group_clause
private

◆ opt_having_clause

Item* PT_query_specification::opt_having_clause
private

◆ opt_hints

PT_hint_list* PT_query_specification::opt_hints
private

◆ opt_into1

PT_into_destination* PT_query_specification::opt_into1
private

◆ opt_where_clause

Item* PT_query_specification::opt_where_clause
private

◆ opt_window_clause

PT_window_list* PT_query_specification::opt_window_clause
private

◆ options

Query_options PT_query_specification::options
private

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