24#ifndef DD__PARTITION_IMPL_INCLUDED 
   25#define DD__PARTITION_IMPL_INCLUDED 
   49class Open_dictionary_tables_ctx;
 
Definition: collection.h:44
 
Definition: entity_object_impl.h:44
 
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
 
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:49
 
const String_type & name() const override
Definition: entity_object_impl.h:60
 
Entity_object_impl * impl() override
Definition: entity_object_impl.h:68
 
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:57
 
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
 
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
 
Definition: partition_impl.h:60
 
String_type m_comment
Definition: partition_impl.h:310
 
Properties_impl m_se_private_data
Definition: partition_impl.h:312
 
bool set_options(const String_type &options_raw) override
Definition: partition_impl.h:184
 
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: partition_impl.cc:260
 
Table::Partition_collection m_subpartitions
Definition: partition_impl.h:322
 
void set_se_private_id(Object_id se_private_id) override
Definition: partition_impl.h:212
 
Object_id se_private_id() const override
Definition: partition_impl.h:210
 
String_type m_description_utf8
Definition: partition_impl.h:308
 
Partition * add_subpartition() override
Add a subpartition to a parent partition.
Definition: partition_impl.cc:375
 
const String_type & name() const override
Definition: partition_impl.h:272
 
const Partition * m_parent
Definition: partition_impl.h:318
 
Properties & se_private_data() override
Definition: partition_impl.h:196
 
bool drop_children(Open_dictionary_tables_ctx *otx) const override
Definition: partition_impl.cc:192
 
const String_type & comment() const override
Definition: partition_impl.h:168
 
void set_parent_partition_id(Object_id parent_partition_id) override
Definition: partition_impl.h:132
 
Partition_indexes * indexes() override
Definition: partition_impl.h:243
 
static Partition_impl * restore_item(Table_impl *table)
Definition: partition_impl.h:280
 
Partition_value * add_value() override
Definition: partition_impl.cc:359
 
const Table_impl & table_impl() const
Definition: partition_impl.h:110
 
const Partition_indexes & indexes() const override
Definition: partition_impl.h:240
 
void set_number(uint number) override
Definition: partition_impl.h:142
 
bool store_children(Open_dictionary_tables_ctx *otx) override
Definition: partition_impl.cc:183
 
Object_id tablespace_id() const override
Definition: partition_impl.h:220
 
Table_impl & table_impl()
Definition: partition_impl.h:112
 
bool restore_children(Open_dictionary_tables_ctx *otx) override
Definition: partition_impl.cc:163
 
static Partition_impl * restore_item(Partition_impl *part)
Definition: partition_impl.h:284
 
uint number() const override
Definition: partition_impl.h:140
 
virtual Partition * parent_partition()
Definition: partition_impl.h:120
 
Entity_object_impl * impl() override
Definition: partition_impl.h:264
 
const Table & table() const override
Definition: partition_impl.cc:123
 
Partition_index * add_index(Index *idx) override
Definition: partition_impl.cc:367
 
String_type m_engine
Definition: partition_impl.h:309
 
bool validate() const override
Definition: partition_impl.cc:129
 
const Partition * parent() const override
Definition: partition_impl.h:260
 
void set_engine(const String_type &engine) override
Definition: partition_impl.h:162
 
const Partition_values & values() const override
Definition: partition_impl.h:232
 
Object_id parent_partition_id() const override
Definition: partition_impl.h:128
 
bool deserialize(Sdi_rcontext *rctx, const RJ_Value &val) override
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provide...
Definition: partition_impl.cc:281
 
void set_comment(const String_type &comment) override
Definition: partition_impl.h:170
 
bool set_se_private_data(const String_type &se_private_data_raw) override
Definition: partition_impl.h:198
 
bool set_se_private_data(const Properties &se_private_data) override
Definition: partition_impl.h:202
 
static Partition_impl * clone(const Partition_impl &other, Partition_impl *part)
Definition: partition_impl.h:296
 
void debug_print(String_type &outb) const override
Definition: partition_impl.cc:304
 
static Partition_impl * clone(const Partition_impl &other, Table_impl *table)
Definition: partition_impl.h:292
 
const String_type & description_utf8() const override
Definition: partition_impl.h:148
 
Object_id m_se_private_id
Definition: partition_impl.h:306
 
bool restore_attributes(const Raw_record &r) override
Definition: partition_impl.cc:207
 
const Table::Partition_collection & subpartitions() const override
Return reference to const collection of sub partitions.
Definition: partition_impl.h:252
 
const Entity_object_impl * impl() const override
Definition: partition_impl.h:265
 
void set_ordinal_position(uint)
Definition: partition_impl.h:95
 
bool set_options(const Properties &options) override
Definition: partition_impl.h:180
 
const Properties & options() const override
Definition: partition_impl.h:176
 
Partition_values m_values
Definition: partition_impl.h:320
 
Object_id m_parent_partition_id
Definition: partition_impl.h:304
 
void set_name(const String_type &name) override
Definition: partition_impl.h:275
 
void set_description_utf8(const String_type &description_utf8) override
Definition: partition_impl.h:152
 
uint m_number
Definition: partition_impl.h:305
 
const Object_table & object_table() const override
Definition: partition_impl.cc:441
 
Properties_impl m_options
Definition: partition_impl.h:311
 
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: partition_impl.h:269
 
Properties & options() override
Definition: partition_impl.h:178
 
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: partition_impl.cc:447
 
virtual const Partition * parent_partition() const
Definition: partition_impl.h:118
 
Partition_impl()
Definition: partition_impl.cc:75
 
void set_parent(const Partition *parent) override
Definition: partition_impl.h:261
 
Table_impl * m_table
Definition: partition_impl.h:316
 
~Partition_impl() override
 
const String_type & engine() const override
Definition: partition_impl.h:160
 
Object_id id() const override
The unique dictionary object id.
Definition: partition_impl.h:268
 
bool store_attributes(Raw_record *r) override
Definition: partition_impl.cc:236
 
virtual uint ordinal_position() const
Definition: partition_impl.h:97
 
void set_tablespace_id(Object_id tablespace_id) override
Definition: partition_impl.h:222
 
const Properties & se_private_data() const override
Definition: partition_impl.h:192
 
Table::Partition_collection * subpartitions() override
Return non-const point to collection of sub partitions.
Definition: partition_impl.h:256
 
Object_id m_tablespace_id
Definition: partition_impl.h:326
 
Partition_indexes m_indexes
Definition: partition_impl.h:321
 
Definition: partition_index.h:47
 
Definition: partition_value.h:45
 
Definition: partition.h:51
 
virtual Object_id parent_partition_id() const =0
 
virtual uint number() const =0
 
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:77
 
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:104
 
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
 
Definition: raw_record.h:46
 
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:231
 
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:129
 
Definition: table_impl.h:68
 
const char * p
Definition: ctype-mb.cc:1237
 
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
 
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:64
 
unsigned long long Object_id
Definition: object_id.h:31
 
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:49
 
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
 
Definition: options.cc:49
 
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
 
This header provides Rapidjson Type Aliases.
 
Used to compare two partition elements.
Definition: partition_impl.h:332
 
bool operator()(const dd::Partition *p1, const dd::Partition *p2) const
Definition: partition_impl.h:334
 
unsigned int uint
Definition: uca9-dump.cc:75