MySQL  8.0.17
Source Code Documentation
AQP::Join_plan Class Reference

This class represents a query plan for an n-way join, in the form a sequence of n table access operations that will execute as a nested loop join. More...

#include <abstract_query_plan.h>

Public Member Functions

 Join_plan (const JOIN *join)
 
 ~Join_plan ()
 
const Table_accessget_table_access (uint access_no) const
 Get the n'th table access operation. More...
 
uint get_access_count () const
 

Private Member Functions

const QEP_TABget_qep_tab (uint qep_tab_no) const
 Get the QEP_TAB of the n'th table access operation. More...
 
 Join_plan (const Join_plan &)
 
Join_planoperator= (const Join_plan &)
 

Private Attributes

const QEP_TAB *const m_qep_tabs
 
Array of the QEP_TABs that are the internal representation of table access operations. More...
 
const uint m_access_count
 Number of table access operations. More...
 
Table_accessm_table_accesses
 

Friends

class Equal_set_iterator
 
class Table_access
 

Detailed Description

This class represents a query plan for an n-way join, in the form a sequence of n table access operations that will execute as a nested loop join.

Constructor & Destructor Documentation

◆ Join_plan() [1/2]

AQP::Join_plan::Join_plan ( const JOIN join)
explicit

◆ ~Join_plan()

AQP::Join_plan::~Join_plan ( )

◆ Join_plan() [2/2]

AQP::Join_plan::Join_plan ( const Join_plan )
private

Member Function Documentation

◆ get_access_count()

uint AQP::Join_plan::get_access_count ( ) const
inline
Returns
The number of table access operations in the nested loop join.

◆ get_qep_tab()

const QEP_TAB * AQP::Join_plan::get_qep_tab ( uint  qep_tab_no) const
private

Get the QEP_TAB of the n'th table access operation.

◆ get_table_access()

const Table_access * AQP::Join_plan::get_table_access ( uint  access_no) const
inline

Get the n'th table access operation.

Parameters
access_noThe index of the table access operation to fetch.
Returns
The access_no'th table access operation.

◆ operator=()

Join_plan& AQP::Join_plan::operator= ( const Join_plan )
private

Friends And Related Function Documentation

◆ Equal_set_iterator

friend class Equal_set_iterator
friend

◆ Table_access

friend class Table_access
friend

Member Data Documentation

◆ m_access_count

const uint AQP::Join_plan::m_access_count
private

Number of table access operations.

◆ m_qep_tabs

const QEP_TAB* const AQP::Join_plan::m_qep_tabs
private


Array of the QEP_TABs that are the internal representation of table access operations.

◆ m_table_accesses

Table_access* AQP::Join_plan::m_table_accesses
private

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