24#ifndef DD__PARTITION_INDEX_IMPL_INCLUDED
25#define DD__PARTITION_INDEX_IMPL_INCLUDED
47class Open_dictionary_tables_ctx;
virtual uint ordinal_position() const =0
Definition: object_key.h:38
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
Definition: partition_index_impl.h:57
Properties_impl m_options
Definition: partition_index_impl.h:167
bool set_options(const Properties &options) override
Definition: partition_index_impl.h:116
const Index & index() const override
Definition: partition_index_impl.cc:93
bool set_options(const String_type &options_raw) override
Definition: partition_index_impl.h:120
Partition_impl & partition_impl()
Definition: partition_index_impl.h:98
void set_ordinal_position(uint)
Definition: partition_index_impl.h:83
const Properties & options() const override
Definition: partition_index_impl.h:112
static Partition_index_impl * restore_item(Partition_impl *partition)
Definition: partition_index_impl.h:153
const Object_table & object_table() const override
Definition: partition_index_impl.cc:235
Partition_impl * m_partition
Definition: partition_index_impl.h:172
Object_key * create_primary_key() const override
Definition: partition_index_impl.cc:192
void debug_print(String_type &outb) const override
Definition: partition_index_impl.cc:176
Properties & options() override
Definition: partition_index_impl.h:114
virtual uint ordinal_position() const
Definition: partition_index_impl.h:85
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:164
const Partition & partition() const override
Definition: partition_index_impl.cc:85
Object_id m_tablespace_id
Definition: partition_index_impl.h:177
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:196
Properties & se_private_data() override
Definition: partition_index_impl.h:132
bool restore_attributes(const Raw_record &r) override
Definition: partition_index_impl.cc:117
const Properties & se_private_data() const override
Definition: partition_index_impl.h:128
Index * m_index
Definition: partition_index_impl.h:173
~Partition_index_impl() override=default
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: partition_index_impl.cc:241
Partition_index_impl()
Definition: partition_index_impl.cc:68
bool set_se_private_data(const Properties &se_private_data) override
Definition: partition_index_impl.h:138
bool set_se_private_data(const String_type &se_private_data_raw) override
Definition: partition_index_impl.h:134
bool validate() const override
Definition: partition_index_impl.cc:99
Properties_impl m_se_private_data
Definition: partition_index_impl.h:168
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: partition_index_impl.cc:151
Object_id tablespace_id() const override
Definition: partition_index_impl.h:146
static Partition_index_impl * clone(const Partition_index_impl &other, Partition_impl *partition)
Definition: partition_index_impl.cc:215
bool store_attributes(Raw_record *r) override
Definition: partition_index_impl.cc:138
void set_tablespace_id(Object_id tablespace_id) override
Definition: partition_index_impl.h:148
Definition: partition_index.h:47
virtual const Index & index() const =0
Definition: partition.h:51
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: weak_object_impl.h:48
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:57
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
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:187
bool operator()(const dd::Partition_index *pi1, const dd::Partition_index *pi2) const
Definition: partition_index_impl.h:188