My Project
|
Public Member Functions | |
table_base_ctx (Explain_context_enum type_arg, const char *name_arg, context *parent_arg) | |
virtual qep_row * | entry () |
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 |
bool opt_explain_json_namespace::table_base_ctx::format_body | ( | Opt_trace_context * | json, |
Opt_trace_object * | obj | ||
) | [protected, virtual] |
Format JSON object body
json | Formatter |
obj | Object of this body |
false | Ok |
true | Error |
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
hide | if true, ban the output of K_SELECT_ID JSON property in the underlying table_with_where_and_derived_ctx objects |
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.