MySQL 9.1.0
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 POS &pos, 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
 
- Public Member Functions inherited from Parse_tree_root
virtual std::string get_printable_parse_tree (THD *thd)
 

Private Attributes

resourcegroups::Sql_cmd_create_resource_group sql_cmd
 
const bool has_priority
 

Additional Inherited Members

- Public Attributes inherited from Parse_tree_root
POS m_pos
 Textual location of a token just parsed. More...
 
- Protected Member Functions inherited from Parse_tree_root
 Parse_tree_root ()=default
 
 Parse_tree_root (const POS &pos)
 
virtual ~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 POS pos,
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: