MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AQP::Join_plan Class Reference

#include <abstract_query_plan.h>

Inheritance diagram for AQP::Join_plan:
Collaboration diagram for AQP::Join_plan:

Public Member Functions

 Join_plan (const JOIN *join)
const Table_accessget_table_access (uint access_no) const
uint get_access_count () const

Friends

class Equal_set_iterator
class Table_access

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

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.

Definition at line 60 of file abstract_query_plan.h.

Constructor & Destructor Documentation

AQP::Join_plan::Join_plan ( const JOIN join)
explicit
Parameters
join_tabArray of access methods constituting the nested loop join.
access_countLength of array.

Definition at line 31 of file abstract_query_plan.cc.

Member Function Documentation

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

Definition at line 249 of file abstract_query_plan.h.

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.

Definition at line 240 of file abstract_query_plan.h.


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