23#ifndef DD__PARTITION_INDEX_IMPL_INCLUDED
24#define DD__PARTITION_INDEX_IMPL_INCLUDED
46class Open_dictionary_tables_ctx;
virtual uint ordinal_position() const =0
Definition: object_key.h:37
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:71
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:75
Definition: partition_impl.h:59
Definition: partition_index_impl.h:56
Properties_impl m_options
Definition: partition_index_impl.h:166
bool set_options(const Properties &options) override
Definition: partition_index_impl.h:115
const Index & index() const override
Definition: partition_index_impl.cc:92
bool set_options(const String_type &options_raw) override
Definition: partition_index_impl.h:119
Partition_impl & partition_impl()
Definition: partition_index_impl.h:97
void set_ordinal_position(uint)
Definition: partition_index_impl.h:82
const Properties & options() const override
Definition: partition_index_impl.h:111
static Partition_index_impl * restore_item(Partition_impl *partition)
Definition: partition_index_impl.h:152
const Object_table & object_table() const override
Definition: partition_index_impl.cc:234
Partition_impl * m_partition
Definition: partition_index_impl.h:171
Object_key * create_primary_key() const override
Definition: partition_index_impl.cc:191
void debug_print(String_type &outb) const override
Definition: partition_index_impl.cc:175
Properties & options() override
Definition: partition_index_impl.h:113
virtual uint ordinal_position() const
Definition: partition_index_impl.h:84
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_index_impl.cc:163
const Partition & partition() const override
Definition: partition_index_impl.cc:84
Object_id m_tablespace_id
Definition: partition_index_impl.h:176
bool has_new_primary_key() const override
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e....
Definition: partition_index_impl.cc:195
Properties & se_private_data() override
Definition: partition_index_impl.h:131
bool restore_attributes(const Raw_record &r) override
Definition: partition_index_impl.cc:116
const Properties & se_private_data() const override
Definition: partition_index_impl.h:127
Index * m_index
Definition: partition_index_impl.h:172
~Partition_index_impl() override=default
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: partition_index_impl.cc:240
Partition_index_impl()
Definition: partition_index_impl.cc:67
bool set_se_private_data(const Properties &se_private_data) override
Definition: partition_index_impl.h:137
bool set_se_private_data(const String_type &se_private_data_raw) override
Definition: partition_index_impl.h:133
bool validate() const override
Definition: partition_index_impl.cc:98
Properties_impl m_se_private_data
Definition: partition_index_impl.h:167
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: partition_index_impl.cc:150
Object_id tablespace_id() const override
Definition: partition_index_impl.h:145
static Partition_index_impl * clone(const Partition_index_impl &other, Partition_impl *partition)
Definition: partition_index_impl.cc:214
bool store_attributes(Raw_record *r) override
Definition: partition_index_impl.cc:137
void set_tablespace_id(Object_id tablespace_id) override
Definition: partition_index_impl.h:147
Definition: partition_index.h:46
virtual const Index & index() const =0
Definition: partition.h:50
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:76
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:103
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:73
Definition: raw_record.h:45
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:230
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:128
Definition: weak_object_impl.h:47
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:63
unsigned long long Object_id
Definition: object_id.h:30
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:48
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50
Definition: options.cc:48
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:85
This header provides Rapidjson Type Aliases.
Used to sort Partition_index objects for the same partition in the same order as Index objects for th...
Definition: partition_index_impl.h:186
bool operator()(const dd::Partition_index *pi1, const dd::Partition_index *pi2) const
Definition: partition_index_impl.h:187
unsigned int uint
Definition: uca9-dump.cc:74