MySQL 9.1.0
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 const_optimized_arg=false)
 
bool empty () const
 
void clean ()
 
int get_flags () const
 
bool is_const_optimized () 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...
 
bool m_const_optimized
 

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,
bool  const_optimized_arg = false 
)
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

◆ is_const_optimized()

bool ORDER_with_src::is_const_optimized ( ) const
inline

Member Data Documentation

◆ flags

int ORDER_with_src::flags
private

bitmap of Explain_sort_property

◆ m_const_optimized

bool ORDER_with_src::m_const_optimized
private

◆ 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: