MySQL 8.0.40
Source Code Documentation
PT_create_resource_group Class Referencefinal

Parse tree node for CREATE RESOURCE GROUP statement. More...

#include <parse_tree_nodes.h>

Inheritance diagram for PT_create_resource_group:
[legend]

Public Member Functions

 PT_create_resource_group (const LEX_CSTRING &name, const resourcegroups::Type type, const Mem_root_array< resourcegroups::Range > *cpu_list, const Value_or_default< int > &opt_priority, bool enabled)
 
Sql_cmdmake_cmd (THD *thd) override
 

Private Attributes

resourcegroups::Sql_cmd_create_resource_group sql_cmd
 
const bool has_priority
 

Additional Inherited Members

- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()=default
 
 Parse_tree_root ()=default
 

Detailed Description

Parse tree node for CREATE RESOURCE GROUP statement.

Constructor & Destructor Documentation

◆ PT_create_resource_group()

PT_create_resource_group::PT_create_resource_group ( const LEX_CSTRING name,
const resourcegroups::Type  type,
const Mem_root_array< resourcegroups::Range > *  cpu_list,
const Value_or_default< int > &  opt_priority,
bool  enabled 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_create_resource_group::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ has_priority

const bool PT_create_resource_group::has_priority
private

◆ sql_cmd

resourcegroups::Sql_cmd_create_resource_group PT_create_resource_group::sql_cmd
private

The documentation for this class was generated from the following files: