MySQL 9.1.0
Source Code Documentation
|
#include <partition_impl.h>
Public Member Functions | |
Partition_impl () | |
Partition_impl (Table_impl *table) | |
Partition_impl (Table_impl *parent, Partition_impl *partition) | |
Partition_impl (const Partition_impl &src, Table_impl *parent) | |
Partition_impl (const Partition_impl &src, Partition_impl *partition) | |
~Partition_impl () override | |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_children (Open_dictionary_tables_ctx *otx) override |
bool | store_children (Open_dictionary_tables_ctx *otx) override |
bool | drop_children (Open_dictionary_tables_ctx *otx) 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 Table & | table () const override |
Table & | table () override |
const Table_impl & | table_impl () const |
Table_impl & | table_impl () |
virtual const Partition * | parent_partition () const |
virtual Partition * | parent_partition () |
Object_id | parent_partition_id () const override |
void | set_parent_partition_id (Object_id parent_partition_id) override |
uint | number () const override |
void | set_number (uint number) override |
const String_type & | description_utf8 () const override |
void | set_description_utf8 (const String_type &description_utf8) override |
const String_type & | engine () const override |
void | set_engine (const String_type &engine) override |
const String_type & | comment () const override |
void | set_comment (const String_type &comment) 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 | se_private_id () const override |
void | set_se_private_id (Object_id se_private_id) override |
Object_id | tablespace_id () const override |
void | set_tablespace_id (Object_id tablespace_id) override |
Partition_value * | add_value () override |
const Partition_values & | values () const override |
Partition_index * | add_index (Index *idx) override |
const Partition_indexes & | indexes () const override |
Partition_indexes * | indexes () override |
Partition * | add_subpartition () override |
Add a subpartition to a parent partition. More... | |
const Table::Partition_collection & | subpartitions () const override |
Return reference to const collection of sub partitions. More... | |
Table::Partition_collection * | subpartitions () override |
Return non-const point to collection of sub partitions. More... | |
const Partition * | parent () const override |
void | set_parent (const Partition *parent) override |
Entity_object_impl * | impl () override |
const Entity_object_impl * | impl () const override |
Object_id | id () const override |
The unique dictionary object id. More... | |
bool | is_persistent () const override |
Is dictionary object persistent in dictionary tables ? More... | |
const String_type & | name () const override |
void | set_name (const String_type &name) override |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
void | set_id (Object_id id) |
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 | |
Weak_object ()=default | |
Weak_object (const Weak_object &)=default | |
virtual | ~Weak_object ()=default |
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... | |
Public Member Functions inherited from dd::Partition | |
~Partition () override=default | |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
static Partition_impl * | restore_item (Table_impl *table) |
static Partition_impl * | restore_item (Partition_impl *part) |
static Partition_impl * | clone (const Partition_impl &other, Table_impl *table) |
static Partition_impl * | clone (const Partition_impl &other, Partition_impl *part) |
dd::Partition_impl::Partition_impl | ( | ) |
dd::Partition_impl::Partition_impl | ( | Table_impl * | table | ) |
dd::Partition_impl::Partition_impl | ( | Table_impl * | parent, |
Partition_impl * | partition | ||
) |
dd::Partition_impl::Partition_impl | ( | const Partition_impl & | src, |
Table_impl * | parent | ||
) |
dd::Partition_impl::Partition_impl | ( | const Partition_impl & | src, |
Partition_impl * | partition | ||
) |
|
overridedefault |
|
overridevirtual |
Implements dd::Partition.
|
overridevirtual |
Add a subpartition to a parent partition.
Support just one level of sub partitions.
Implements dd::Partition.
|
overridevirtual |
Implements dd::Partition.
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Partition.
|
overridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
Implements dd::Partition.
|
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.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
The unique dictionary object id.
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Partition.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlinevirtual |
|
inlinevirtual |
|
inlineoverridevirtual |
Implements dd::Partition.
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
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.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inline |
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
inlineoverridevirtual |
Implements dd::Partition.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Return reference to const collection of sub partitions.
Implements dd::Partition.
|
inlineoverridevirtual |
Return non-const point to collection of sub partitions.
Implements dd::Partition.
|
overridevirtual |
Implements dd::Partition.
|
overridevirtual |
Implements dd::Partition.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements dd::Partition.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Partition.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |