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

List of all members.

Public Member Functions

 union_result_ctx (context *parent_arg)
virtual size_t id (bool hide)
virtual bool cacheable ()
virtual bool dependent ()
virtual qep_rowentry ()
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)

Detailed Description

Node class for the CTX_UNION_RESULT


Member Function Documentation

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

Parameters:
subquery_typeDescribes the Item tree where the subquery exists
ctxSubquery node
Return values:
falseOk
trueError

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

Parameters:
jsonFormatter
Return values:
falseOk
trueError
Note:
The join_ctx class overloads this function.

Reimplemented from opt_explain_json_namespace::context.

Format JSON object body

Parameters:
jsonFormatter
objObject of this body
Return values:
falseOk
trueError

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

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

Reimplemented from opt_explain_json_namespace::table_base_ctx.


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