MySQL 8.0.39
Source Code Documentation
|
#include <charset_impl.h>
Public Member Functions | |
Charset_impl () | |
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 |
Object_id | default_collation_id () const override |
void | set_default_collation_id (Object_id collation_id) override |
uint | mb_max_length () const override |
virtual void | set_mb_max_length (uint mb_max_length) |
const String_type & | comment () const override |
virtual void | set_comment (const String_type &comment) |
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 |
void | debug_print (String_type &outb) const override |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
Object_id | id () const override |
The unique dictionary object id. More... | |
void | set_id (Object_id id) |
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 |
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... | |
Entity_object_impl * | impl () override |
const Entity_object_impl * | impl () const override |
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... | |
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::Charset | |
virtual bool | update_id_key (Id_key *key) const |
virtual bool | update_name_key (Name_key *key) const |
virtual bool | update_aux_key (Aux_key *) const |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Static Public Member Functions inherited from dd::Charset | |
static bool | update_id_key (Id_key *key, Object_id id) |
static bool | update_name_key (Name_key *key, const String_type &name) |
Private Member Functions | |
Charset * | clone () const override |
Allocate a new object and invoke the copy constructor. More... | |
Charset * | clone_dropped_object_placeholder () const override |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry (i.e. More... | |
Private Attributes | |
uint | m_mb_max_length |
String_type | m_comment |
Object_id | m_default_collation_id |
Additional Inherited Members | |
Public Types inherited from dd::Charset | |
typedef Charset_impl | Impl |
typedef Charset | Cache_partition |
typedef tables::Character_sets | DD_table |
typedef Primary_id_key | Id_key |
typedef Global_name_key | Name_key |
typedef Void_key | Aux_key |
Protected Member Functions inherited from dd::Entity_object_impl | |
void | set_primary_key_value (const Raw_new_record &r) override |
void | fix_has_new_primary_key () override |
void | restore_id (const Raw_record &r, int field_idx) |
void | restore_name (const Raw_record &r, int field_idx) |
bool | store_id (Raw_record *r, int field_idx) |
bool | store_name (Raw_record *r, int field_idx) |
bool | store_name (Raw_record *r, int field_idx, bool is_null) |
void | serialize (Sdi_wcontext *wctx, Sdi_writer *w) const |
bool | deserialize (Sdi_rcontext *rctx, const RJ_Value &val) |
Entity_object_impl (const Entity_object_impl &src) | |
Protected Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
bool | check_parent_consistency (Entity_object_impl *parent, Object_id parent_id) const |
|
inline |
|
inlineoverrideprivatevirtual |
Allocate a new object and invoke the copy constructor.
Implements dd::Charset.
|
inlineoverrideprivatevirtual |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry (i.e.
it has the same keys as original).
Implements dd::Charset.
|
inlineoverridevirtual |
Implements dd::Charset.
|
inlineoverridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
Implements dd::Charset.
|
inlineoverridevirtual |
The unique dictionary object id.
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Charset.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements dd::Charset.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |