My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
opt_explain_json_namespace::subquery_ctx Class Reference
Inheritance diagram for opt_explain_json_namespace::subquery_ctx:
opt_explain_json_namespace::context qep_row Explain_context Sql_alloc Sql_alloc

List of all members.

Public Member Functions

 subquery_ctx (Explain_context_enum type_arg, const char *name_arg, context *parent_arg)
virtual qep_rowentry ()
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)

Detailed Description

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.


Member Function Documentation

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

Parameters:
jsonFormatter
Return values:
falseOk
trueError
Note:
The 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

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.

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.


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