MySQL 8.0.37
Source Code Documentation
PT_order_expr Class Reference

#include <parse_tree_nodes.h>

Inheritance diagram for PT_order_expr:
[legend]

Public Member Functions

 PT_order_expr (Item *item_arg, enum_order dir)
 
bool contextualize (Parse_context *pc) override
 
- Public Member Functions inherited from Parse_tree_node_tmpl< Context >
virtual ~Parse_tree_node_tmpl ()=default
 
bool is_contextualized () const
 
virtual bool contextualize (Context *pc)
 Do all context-sensitive things and mark the node as contextualized. 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...
 
- Public Member Functions inherited from ORDER
bool is_item_original () const
 

Private Types

typedef Parse_tree_node super
 

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
 
- Public Attributes inherited from ORDER
ORDERnext {nullptr}
 
Itemitem_initial {nullptr}
 The initial ordering expression. More...
 
Item ** item {&item_initial}
 Points at the item in the select fields. More...
 
Item_rollup_group_itemrollup_item {nullptr}
 
enum_order direction
 
bool in_field_list {false}
 
bool used_alias {false}
 Tells whether this ORDER element was referenced with an alias or with an expression, in the query: SELECT a AS foo GROUP BY foo: true. More...
 
Fieldfield_in_tmp_table {nullptr}
 When GROUP BY is implemented with a temporary table (i.e. More...
 
char * buff {nullptr}
 
table_map used {0}
 
table_map depend_map {0}
 
bool is_explicit {false}
 
- Protected Member Functions inherited from Parse_tree_node_tmpl< Context >
 Parse_tree_node_tmpl ()
 

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_order_expr()

PT_order_expr::PT_order_expr ( Item item_arg,
enum_order  dir 
)
inline

Member Function Documentation

◆ contextualize()

bool PT_order_expr::contextualize ( Parse_context pc)
override

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