MySQL  8.0.18
Source Code Documentation
Candidate_table_order Class Reference

Class which presents a view of the current candidate table order for a JOIN. More...

#include <sql_optimizer.h>

Public Member Functions

 Candidate_table_order (const JOIN *join)
 
size_t size () const
 Returns the number of tables in the candidate plan. More...
 
const TABLE_LISTtable_ref (size_t position) const
 Returns the table reference at the given position in the candidate plan. More...
 

Private Attributes

const JOIN *const m_join
 

Detailed Description

Class which presents a view of the current candidate table order for a JOIN.

Constructor & Destructor Documentation

◆ Candidate_table_order()

Candidate_table_order::Candidate_table_order ( const JOIN join)
inline

Member Function Documentation

◆ size()

size_t Candidate_table_order::size ( ) const
inline

Returns the number of tables in the candidate plan.

◆ table_ref()

const TABLE_LIST* Candidate_table_order::table_ref ( size_t  position) const
inline

Returns the table reference at the given position in the candidate plan.

Member Data Documentation

◆ m_join

const JOIN* const Candidate_table_order::m_join
private

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