My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
opt_explain_json_namespace::unit_ctx Class Reference
Inheritance diagram for opt_explain_json_namespace::unit_ctx:
opt_explain_json_namespace::context Explain_context Sql_alloc opt_explain_json_namespace::join_ctx opt_explain_json_namespace::union_ctx opt_explain_json_namespace::union_result_ctx opt_explain_json_namespace::duplication_weedout_ctx opt_explain_json_namespace::materialize_ctx opt_explain_json_namespace::sort_ctx opt_explain_json_namespace::sort_with_subqueries_ctx

List of all members.

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)

Detailed Description

Helper base class to host HAVING, ORDER BY and GROUP BY subquery nodes


Member Function Documentation

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

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

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.

Helper function to distinguish subquery-less nodes

Return values:
trueNode hosts no subqueries
falseNode hosts some subqueries

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