MySQL  8.0.21
Source Code Documentation
ORDER_with_src Class Reference

Wrapper for ORDER* pointer to trace origins of ORDER list. More...

#include <sql_optimizer.h>

Public Member Functions

 ORDER_with_src ()
 
 ORDER_with_src (ORDER *order_arg, Explain_sort_clause src_arg)
 
bool empty () const
 
void clean ()
 
int get_flags () const
 

Public Attributes

ORDERorder
 ORDER expression that we are wrapping with this class. More...
 
Explain_sort_clause src
 origin of order list More...
 

Private Attributes

int flags
 bitmap of Explain_sort_property More...
 

Detailed Description

Wrapper for ORDER* pointer to trace origins of ORDER list.

As far as ORDER is just a head object of ORDER expression chain, we need some wrapper object to associate flags with the whole ORDER list.

Constructor & Destructor Documentation

◆ ORDER_with_src() [1/2]

ORDER_with_src::ORDER_with_src ( )
inline

◆ ORDER_with_src() [2/2]

ORDER_with_src::ORDER_with_src ( ORDER order_arg,
Explain_sort_clause  src_arg 
)
inline

Member Function Documentation

◆ clean()

void ORDER_with_src::clean ( )
inline

◆ empty()

bool ORDER_with_src::empty ( ) const
inline

◆ get_flags()

int ORDER_with_src::get_flags ( ) const
inline

Member Data Documentation

◆ flags

int ORDER_with_src::flags
private

bitmap of Explain_sort_property

◆ order

ORDER* ORDER_with_src::order

ORDER expression that we are wrapping with this class.

◆ src

Explain_sort_clause ORDER_with_src::src

origin of order list


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