MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Explain_no_table Class Reference
Inheritance diagram for Explain_no_table:
Collaboration diagram for Explain_no_table:

Public Member Functions

 Explain_no_table (THD *thd_arg, JOIN *join_arg, const char *message_arg)
 Explain_no_table (THD *thd_arg, const char *message_arg, ha_rows rows_arg=HA_POS_ERROR)
- Public Member Functions inherited from Explain
bool send ()

Protected Member Functions

virtual bool shallow_explain ()
virtual bool explain_rows_and_filtered ()
virtual bool explain_extra ()
- Protected Member Functions inherited from Explain
 Explain (Explain_context_enum context_type_arg, THD *thd_arg, JOIN *join_arg=NULL)
bool explain_subqueries (select_result *result)
bool mark_subqueries (Item *item, qep_row *destination, Explain_context_enum type)
bool mark_order_subqueries (const JOIN::ORDER_with_src &order)
bool prepare_columns ()
bool describe (uint8 mask) const
SELECT_LEX * select_lex () const
bool prepare (select_result *result)
bool push_extra (Extra_tag tag)
bool push_extra (Extra_tag tag, const String &arg)
bool push_extra (Extra_tag tag, const char *arg)
virtual bool explain_id ()
virtual bool explain_select_type ()
virtual bool explain_table_name ()
virtual bool explain_partitions ()
virtual bool explain_join_type ()
virtual bool explain_possible_keys ()
virtual bool explain_key_and_len ()
virtual bool explain_ref ()
virtual bool explain_modify_flags ()

Additional Inherited Members

- Protected Attributes inherited from Explain
THD *const thd
 cached THD pointer
const CHARSET_INFO *const cs
 cached pointer to system_charset_info
JOIN *const join
 top-level JOIN (if any) provided by caller
select_result *const external_result
 stream (if any) provided by caller
Explain_format *const fmt
 shortcut for thd->lex->explain_format
Explain_context_enum context_type
 associated value for struct. explain
JOIN::ORDER_with_src order_list
JOIN::ORDER_with_src group_list

Detailed Description

Explain_no_table class outputs a trivial EXPLAIN row with "extra" column

This class is intended for simple cases to produce EXPLAIN output with "No tables used", "No matching records" etc. Optionally it can output number of estimated rows in the "row" column.

Note
This class also produces EXPLAIN rows for inner units (if any).

Definition at line 240 of file opt_explain.cc.

Member Function Documentation

bool Explain_no_table::explain_rows_and_filtered ( )
protectedvirtual

fill col_rows and col_filtered fields together

Reimplemented from Explain.

Definition at line 766 of file opt_explain.cc.

Here is the call graph for this function:

bool Explain_no_table::shallow_explain ( )
protectedvirtual

Explain everything but subqueries

Reimplemented from Explain.

Definition at line 757 of file opt_explain.cc.

Here is the call graph for this function:


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