My Project
|
#include <opt_explain_traditional.h>
Public Member Functions | |
virtual bool | is_hierarchical () const |
virtual bool | send_headers (select_result *result) |
virtual bool | begin_context (Explain_context_enum, SELECT_LEX_UNIT *subquery, const Explain_format_flags *flags) |
virtual bool | end_context (Explain_context_enum) |
virtual bool | flush_entry () |
virtual qep_row * | entry () |
Formatter for the traditional EXPLAIN output
virtual bool Explain_format_traditional::begin_context | ( | Explain_context_enum | context, |
SELECT_LEX_UNIT * | subquery, | ||
const Explain_format_flags * | flags | ||
) | [inline, virtual] |
Enter a specified context
context | context type |
subquery | for CTX_WHERE: unit of the subquery |
Implements Explain_format.
virtual bool Explain_format_traditional::end_context | ( | Explain_context_enum | context | ) | [inline, virtual] |
Leave the current context
context | current context type (for validation/debugging) |
Implements Explain_format.
virtual qep_row* Explain_format_traditional::entry | ( | ) | [inline, virtual] |
Get a pointer to the current TABLE/JOIN_TAB property set
Implements Explain_format.
bool Explain_format_traditional::flush_entry | ( | ) | [virtual] |
Flush TABLE/JOIN_TAB property set
For traditional EXPLAIN: output a single EXPLAIN row.
Implements Explain_format.
virtual bool Explain_format_traditional::is_hierarchical | ( | ) | const [inline, virtual] |
A hierarchical text or a plain table
true | Formatter produces hierarchical text |
false | Traditional explain |
Implements Explain_format.
bool Explain_format_traditional::send_headers | ( | select_result * | result | ) | [virtual] |
Send EXPLAIN header item(s) to output stream
result | output result set |
false | OK |
true | Error |
Reimplemented from Explain_format.