MySQL 9.1.0
Source Code Documentation
|
#include <partition_index_impl.h>
Public Member Functions | |
Partition_index_impl () | |
Partition_index_impl (Partition_impl *partition, Index *index) | |
Partition_index_impl (const Partition_index_impl &src, Partition_impl *parent, Index *index) | |
~Partition_index_impl () override=default | |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_attributes (const Raw_record &r) override |
bool | store_attributes (Raw_record *r) override |
void | serialize (Sdi_wcontext *wctx, Sdi_writer *w) const override |
Converts *this into json. More... | |
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 provided. More... | |
void | debug_print (String_type &outb) const override |
void | set_ordinal_position (uint) |
virtual uint | ordinal_position () const |
const Partition & | partition () const override |
Partition & | partition () override |
Partition_impl & | partition_impl () |
const Index & | index () const override |
Index & | index () override |
const Properties & | options () const override |
Properties & | options () override |
bool | set_options (const Properties &options) override |
bool | set_options (const String_type &options_raw) override |
const Properties & | se_private_data () const override |
Properties & | se_private_data () override |
bool | set_se_private_data (const String_type &se_private_data_raw) override |
bool | set_se_private_data (const Properties &se_private_data) override |
Object_id | tablespace_id () const override |
void | set_tablespace_id (Object_id tablespace_id) override |
Object_key * | create_primary_key () const override |
bool | has_new_primary_key () const override |
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g. More... | |
Public Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
Weak_object_impl_ ()=default | |
~Weak_object_impl_ () override=default | |
void * | operator new (size_t size, const std::nothrow_t &nt) noexcept |
void | operator delete (void *ptr, const std::nothrow_t &nt) noexcept |
void * | operator new (size_t size) noexcept |
void | operator delete (void *ptr) noexcept |
virtual bool | store (Open_dictionary_tables_ctx *otx) |
Store the DD object into DD table. More... | |
bool | drop (Open_dictionary_tables_ctx *otx) const |
Drop the DD object from DD table. More... | |
virtual bool | restore_children (Open_dictionary_tables_ctx *) |
virtual bool | store_children (Open_dictionary_tables_ctx *) |
virtual bool | drop_children (Open_dictionary_tables_ctx *) const |
Public Member Functions inherited from dd::Weak_object | |
Weak_object ()=default | |
Weak_object (const Weak_object &)=default | |
virtual | ~Weak_object ()=default |
Public Member Functions inherited from dd::Partition_index | |
~Partition_index () override=default | |
const String_type & | name () const |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
static Partition_index_impl * | restore_item (Partition_impl *partition) |
static Partition_index_impl * | clone (const Partition_index_impl &other, Partition_impl *partition) |
Private Attributes | |
Properties_impl | m_options |
Properties_impl | m_se_private_data |
Partition_impl * | m_partition |
Index * | m_index |
Object_id | m_tablespace_id |
Additional Inherited Members | |
Public Types inherited from dd::Partition_index | |
typedef Partition_index_impl | Impl |
typedef tables::Index_partitions | DD_table |
Protected Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
virtual void | set_primary_key_value (const Raw_new_record &) |
virtual void | fix_has_new_primary_key () |
bool | check_parent_consistency (Entity_object_impl *parent, Object_id parent_id) const |
dd::Partition_index_impl::Partition_index_impl | ( | ) |
dd::Partition_index_impl::Partition_index_impl | ( | Partition_impl * | partition, |
Index * | index | ||
) |
dd::Partition_index_impl::Partition_index_impl | ( | const Partition_index_impl & | src, |
Partition_impl * | parent, | ||
Index * | index | ||
) |
|
overridedefault |
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Implements dd::Weak_object.
|
overridevirtual |
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provided.
Cross-references encountered within this object are tracked in sdictx, so that they can be updated when the entire object graph has been established.
rctx | stores book-keeping information for the deserialization process |
val | subobject of rapidjson DOM containing json representation of this object |
Implements dd::Partition_index.
|
overridevirtual |
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g.
because it only will be generated using auto-increment at store() time). So it is ok for store() method to skip lookup of existing object with the same primary key and simply try to insert new object into the table.
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Implements dd::Partition_index.
|
overridevirtual |
Implements dd::Partition_index.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inlinevirtual |
|
overridevirtual |
Implements dd::Partition_index.
|
overridevirtual |
Implements dd::Partition_index.
|
inline |
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
overridevirtual |
Converts *this into json.
Converts all member variables that are to be included in the sdi into json by transforming them appropriately and passing them to the rapidjson writer provided.
wctx | opaque context for data needed by serialization |
w | rapidjson writer which will perform conversion to json |
Implements dd::Partition_index.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inline |
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Partition_index.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |
|
private |
|
private |