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

List of all members.

Public Member Functions

 table_base_ctx (Explain_context_enum type_arg, const char *name_arg, context *parent_arg)
virtual qep_rowentry ()
virtual size_t id (bool hide)
virtual bool cacheable ()
virtual bool dependent ()

Protected Member Functions

virtual bool format_body (Opt_trace_context *json, Opt_trace_object *obj)

Protected Attributes

bool is_hidden_id

Member Function Documentation

Format JSON object body

Parameters:
jsonFormatter
objObject of this body
Return values:
falseOk
trueError

Implements opt_explain_json_namespace::context.

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

virtual size_t opt_explain_json_namespace::table_base_ctx::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

Implements opt_explain_json_namespace::context.

Reimplemented in opt_explain_json_namespace::materialize_ctx, opt_explain_json_namespace::join_tab_ctx, opt_explain_json_namespace::message_ctx, opt_explain_json_namespace::table_with_where_and_derived, and opt_explain_json_namespace::union_result_ctx.


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