MySQL  8.0.18
Source Code Documentation
dd::Charset_impl Class Reference

#include <charset_impl.h>

Inheritance diagram for dd::Charset_impl:
dd::Entity_object_impl dd::Charset dd::Entity_object dd::Weak_object_impl dd::Entity_object dd::Weak_object dd::Weak_object dd::Weak_object

Public Member Functions

 Charset_impl ()
 
virtual const Object_tableobject_table () const
 
virtual bool validate () const
 
virtual bool restore_attributes (const Raw_record &r)
 
virtual bool store_attributes (Raw_record *r)
 
virtual Object_id default_collation_id () const
 
virtual void set_default_collation_id (Object_id collation_id)
 
virtual uint mb_max_length () const
 
virtual void set_mb_max_length (uint mb_max_length)
 
virtual const String_typecomment () const
 
virtual void set_comment (const String_type &comment)
 
virtual Entity_object_implimpl ()
 
virtual const Entity_object_implimpl () const
 
virtual Object_id id () const
 The unique dictionary object id. More...
 
virtual bool is_persistent () const
 Is dictionary object persistent in dictionary tables ? More...
 
virtual const String_typename () const
 
virtual void set_name (const String_type &name)
 
virtual void debug_print (String_type &outb) const
 
- Public Member Functions inherited from dd::Entity_object_impl
 Entity_object_impl ()
 
void set_id (Object_id id)
 
virtual Object_keycreate_primary_key () const override
 
virtual 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 ()
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()
 
- Public Member Functions inherited from dd::Weak_object_impl
 Weak_object_impl ()
 
virtual ~Weak_object_impl ()
 
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

Charsetclone () const
 Allocate a new object and invoke the copy contructor. 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
virtual void set_primary_key_value (const Raw_new_record &r) override
 
virtual 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
bool check_parent_consistency (Entity_object_impl *parent, Object_id parent_id) const
 

Constructor & Destructor Documentation

◆ Charset_impl()

dd::Charset_impl::Charset_impl ( )
inline

Member Function Documentation

◆ clone()

Charset* dd::Charset_impl::clone ( ) const
inlineprivatevirtual

Allocate a new object and invoke the copy contructor.

Returns
pointer to dynamically allocated copy

Implements dd::Charset.

◆ comment()

virtual const String_type& dd::Charset_impl::comment ( ) const
inlinevirtual

Implements dd::Charset.

◆ debug_print()

virtual void dd::Charset_impl::debug_print ( String_type outb) const
inlinevirtual

Implements dd::Weak_object.

◆ default_collation_id()

virtual Object_id dd::Charset_impl::default_collation_id ( ) const
inlinevirtual

Implements dd::Charset.

◆ id()

virtual Object_id dd::Charset_impl::id ( ) const
inlinevirtual

The unique dictionary object id.

Reimplemented from dd::Entity_object_impl.

◆ impl() [1/2]

virtual Entity_object_impl* dd::Charset_impl::impl ( )
inlinevirtual

Reimplemented from dd::Entity_object_impl.

◆ impl() [2/2]

virtual const Entity_object_impl* dd::Charset_impl::impl ( ) const
inlinevirtual

Reimplemented from dd::Entity_object_impl.

◆ is_persistent()

virtual bool dd::Charset_impl::is_persistent ( ) const
inlinevirtual

Is dictionary object persistent in dictionary tables ?

Reimplemented from dd::Entity_object_impl.

◆ mb_max_length()

virtual uint dd::Charset_impl::mb_max_length ( ) const
inlinevirtual

Implements dd::Charset.

◆ name()

virtual const String_type& dd::Charset_impl::name ( ) const
inlinevirtual

Reimplemented from dd::Entity_object_impl.

◆ object_table()

const Object_table & dd::Charset_impl::object_table ( ) const
virtual

Implements dd::Weak_object_impl.

◆ register_tables()

void dd::Charset_impl::register_tables ( Open_dictionary_tables_ctx otx)
static

◆ restore_attributes()

bool dd::Charset_impl::restore_attributes ( const Raw_record r)
virtual

Implements dd::Weak_object_impl.

◆ set_comment()

virtual void dd::Charset_impl::set_comment ( const String_type comment)
inlinevirtual

◆ set_default_collation_id()

virtual void dd::Charset_impl::set_default_collation_id ( Object_id  collation_id)
inlinevirtual

Implements dd::Charset.

◆ set_mb_max_length()

virtual void dd::Charset_impl::set_mb_max_length ( uint  mb_max_length)
inlinevirtual

◆ set_name()

virtual void dd::Charset_impl::set_name ( const String_type name)
inlinevirtual

Reimplemented from dd::Entity_object_impl.

◆ store_attributes()

bool dd::Charset_impl::store_attributes ( Raw_record r)
virtual

Implements dd::Weak_object_impl.

◆ validate()

bool dd::Charset_impl::validate ( ) const
virtual

Implements dd::Weak_object_impl.

Member Data Documentation

◆ m_comment

String_type dd::Charset_impl::m_comment
private

◆ m_default_collation_id

Object_id dd::Charset_impl::m_default_collation_id
private

◆ m_mb_max_length

uint dd::Charset_impl::m_mb_max_length
private

The documentation for this class was generated from the following files: