My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
opt_explain_json_namespace::table_with_where_and_derived Class Reference
Inheritance diagram for opt_explain_json_namespace::table_with_where_and_derived:
opt_explain_json_namespace::table_base_ctx opt_explain_json_namespace::context qep_row Explain_context Sql_alloc Sql_alloc opt_explain_json_namespace::join_tab_ctx opt_explain_json_namespace::message_ctx

List of all members.

Public Member Functions

 table_with_where_and_derived (Explain_context_enum type_arg, const char *name_arg, context *parent_arg)
virtual size_t id (bool hide)
virtual bool format_where (Opt_trace_context *json)
 Helper function to format output for associated WHERE subqueries if any.
virtual bool format_derived (Opt_trace_context *json)
 Helper function to format output for derived subquery if any.

Protected Attributes

List< subquery_ctxwhere_subqueries
 associated WHERE clause subqueries

Detailed Description

Common part of CTX_JOIN_TAB and CTX_MESSAGE nodes

This class implements functionality for WHERE and derived subqueries that are associated with the table node.


Member Function Documentation

virtual size_t opt_explain_json_namespace::table_with_where_and_derived::id ( bool  hide) [inline, virtual]

Analogue of the "id" column in the traditional EXPLAIN output

Parameters:
hideif true, ban the output of K_SELECT_ID JSON property in the underlying table_with_where_and_derived_ctx objects
Returns:
"Select number" that is associated with this node

Reimplemented from opt_explain_json_namespace::table_base_ctx.

Reimplemented in opt_explain_json_namespace::join_tab_ctx, and opt_explain_json_namespace::message_ctx.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines