My Project
|
Public Member Functions | |
unit_ctx (Explain_context_enum type_arg, const char *name_arg, context *parent_arg) | |
bool | has_no_subqueries () const |
virtual bool | format_unit (Opt_trace_context *json) |
Helper function to format output for HAVING, ORDER/GROUP BY subqueries. | |
virtual bool | add_subquery (subquery_list_enum subquery_type, subquery_ctx *ctx) |
Helper base class to host HAVING, ORDER BY and GROUP BY subquery nodes
virtual bool opt_explain_json_namespace::unit_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::context.
Reimplemented in opt_explain_json_namespace::duplication_weedout_ctx, opt_explain_json_namespace::materialize_ctx, opt_explain_json_namespace::sort_with_subqueries_ctx, opt_explain_json_namespace::join_ctx, and opt_explain_json_namespace::union_result_ctx.
bool opt_explain_json_namespace::unit_ctx::has_no_subqueries | ( | ) | const [inline] |
Helper function to distinguish subquery-less nodes
true | Node hosts no subqueries |
false | Node hosts some subqueries |