My Project
|
Public Member Functions | |
subquery_ctx (Explain_context_enum type_arg, const char *name_arg, context *parent_arg) | |
virtual qep_row * | entry () |
virtual bool | cacheable () |
virtual bool | dependent () |
virtual bool | format (Opt_trace_context *json) |
virtual void | set_child (context *child) |
virtual size_t | id (bool hide) |
Node class to wrap a subquery node tree
Implements CTX_WHERE, CTX_HAVING, CTX_ORDER_BY_SQ, CTX_GROUP_BY_SQ and CTX_OPTIMIZED_AWAY_SUBQUERY context nodes. This class hosts underlying join_ctx or uion_ctx.
virtual bool opt_explain_json_namespace::subquery_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 size_t opt_explain_json_namespace::subquery_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.
virtual void opt_explain_json_namespace::subquery_ctx::set_child | ( | context * | child | ) | [inline, virtual] |
Associate a child node with this node
This function is to be overloaded by subquery_ctx.
Reimplemented from opt_explain_json_namespace::context.