MySQL  8.0.18
Source Code Documentation

Node for the PARTITION definition clause. More...

#include <parse_tree_partitions.h>

Inheritance diagram for PT_partition:
Parse_tree_node_tmpl< Context >

Public Member Functions

 PT_partition (PT_part_type_def *part_type_def, uint opt_num_parts, PT_sub_partition *opt_sub_part, const POS &part_defs_pos, Mem_root_array< PT_part_definition *> *part_defs)
 
bool contextualize (Parse_context *pc) override
 
- Public Member Functions inherited from Parse_tree_node_tmpl< Context >
virtual ~Parse_tree_node_tmpl ()
 
bool is_contextualized () const
 
virtual bool contextualize (Context *pc)
 Do all context-sensitive things and mark the node as contextualized. More...
 
virtual bool contextualize_ (Context *)
 
Intermediate version of the contextualize() function More...
 
void error (Context *pc, const POS &pos) const
 syntax_error() function replacement for deferred reporting of syntax errors More...
 
void error (Context *pc, const POS &pos, const char *msg) const
 syntax_error() function replacement for deferred reporting of syntax errors More...
 
void errorf (Context *pc, const POS &pos, const char *format,...) const
 syntax_error() function replacement for deferred reporting of syntax errors More...
 

Public Attributes

partition_info part_info
 

Private Types

typedef Parse_tree_node super
 

Private Attributes

PT_part_type_def *const part_type_def
 
const uint opt_num_parts
 
PT_sub_partition *const opt_sub_part
 
const POS part_defs_pos
 
Mem_root_array< PT_part_definition * > * part_defs
 

Additional Inherited Members

- Public Types inherited from Parse_tree_node_tmpl< Context >
typedef Context context_t
 
- Static Public Member Functions inherited from Parse_tree_node_tmpl< Context >
static void * operator new (size_t size, MEM_ROOT *mem_root, const std::nothrow_t &arg=std::nothrow) noexcept
 
static void operator delete (void *ptr, size_t size)
 
static void operator delete (void *, MEM_ROOT *, const std::nothrow_t &) noexcept
 
- Protected Member Functions inherited from Parse_tree_node_tmpl< Context >
 Parse_tree_node_tmpl ()
 

Detailed Description

Node for the PARTITION definition clause.

Member Typedef Documentation

◆ super

Constructor & Destructor Documentation

◆ PT_partition()

PT_partition::PT_partition ( PT_part_type_def part_type_def,
uint  opt_num_parts,
PT_sub_partition opt_sub_part,
const POS part_defs_pos,
Mem_root_array< PT_part_definition *> *  part_defs 
)
inline

Member Function Documentation

◆ contextualize()

bool PT_partition::contextualize ( Parse_context pc)
override

Member Data Documentation

◆ opt_num_parts

const uint PT_partition::opt_num_parts
private

◆ opt_sub_part

PT_sub_partition* const PT_partition::opt_sub_part
private

◆ part_defs

Mem_root_array<PT_part_definition *>* PT_partition::part_defs
private

◆ part_defs_pos

const POS PT_partition::part_defs_pos
private

◆ part_info

partition_info PT_partition::part_info

◆ part_type_def

PT_part_type_def* const PT_partition::part_type_def
private

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