My Project
|
Public Member Functions | |
union_result_ctx (context *parent_arg) | |
virtual size_t | id (bool hide) |
virtual bool | cacheable () |
virtual bool | dependent () |
virtual qep_row * | entry () |
virtual bool | format_unit (Opt_trace_context *json) |
Helper function to format output for HAVING, ORDER/GROUP BY subqueries. | |
void | push_down_query_specs (List< context > *specs) |
virtual bool | add_subquery (subquery_list_enum subquery_type, subquery_ctx *ctx) |
virtual bool | format (Opt_trace_context *json) |
virtual bool | format_body (Opt_trace_context *json, Opt_trace_object *obj) |
Node class for the CTX_UNION_RESULT
virtual bool opt_explain_json_namespace::union_result_ctx::add_subquery | ( | subquery_list_enum | subquery_type, |
subquery_ctx * | ctx | ||
) | [inline, virtual] |
Append a subquery node to the specified list of the unit node
subquery_type | Describes the Item tree where the subquery exists |
ctx | Subquery node |
false | Ok |
true | Error |
Reimplemented from opt_explain_json_namespace::unit_ctx.
virtual bool opt_explain_json_namespace::union_result_ctx::format | ( | Opt_trace_context * | json | ) | [inline, virtual] |
Pass the node with its child nodes to a JSON formatter
json | Formatter |
false | Ok |
true | Error |
join_ctx
class overloads this function. Reimplemented from opt_explain_json_namespace::context.
virtual bool opt_explain_json_namespace::union_result_ctx::format_body | ( | Opt_trace_context * | json, |
Opt_trace_object * | obj | ||
) | [inline, virtual] |
Format JSON object body
json | Formatter |
obj | Object of this body |
false | Ok |
true | Error |
Reimplemented from opt_explain_json_namespace::table_base_ctx.
virtual size_t opt_explain_json_namespace::union_result_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 |
Reimplemented from opt_explain_json_namespace::table_base_ctx.