MySQL 8.0.39
Source Code Documentation
dd::Collation Class Referenceabstract

#include <collation.h>

Inheritance diagram for dd::Collation:
[legend]

Public Types

enum  enum_pad_attribute { PA_UNDEFINED , PA_PAD_SPACE , PA_NO_PAD }
 
typedef Collation_impl Impl
 
typedef Collation Cache_partition
 
typedef tables::Collations DD_table
 
typedef Primary_id_key Id_key
 
typedef Global_name_key Name_key
 
typedef Void_key Aux_key
 

Public Member Functions

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
 
virtual Object_id charset_id () const =0
 
virtual void set_charset_id (Object_id charset_id)=0
 
virtual bool is_compiled () const =0
 
virtual uint sort_length () const =0
 
virtual Collationclone () const =0
 Allocate a new object and invoke the copy constructor. More...
 
virtual Collationclone_dropped_object_placeholder () const =0
 Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry (i.e. More...
 
- Public Member Functions inherited from dd::Entity_object
virtual Object_id id () const =0
 The unique dictionary object id. More...
 
virtual bool is_persistent () const =0
 Is dictionary object persistent in dictionary tables ? More...
 
virtual const String_typename () const =0
 
virtual void set_name (const String_type &name)=0
 
- Public Member Functions inherited from dd::Weak_object
virtual void debug_print (String_type &outb) const =0
 
 Weak_object ()=default
 
 Weak_object (const Weak_object &)=default
 
virtual ~Weak_object ()=default
 

Static Public Member Functions

static bool update_id_key (Id_key *key, Object_id id)
 
static bool update_name_key (Name_key *key, const String_type &name)
 

Member Typedef Documentation

◆ Aux_key

◆ Cache_partition

◆ DD_table

◆ Id_key

◆ Impl

◆ Name_key

Member Enumeration Documentation

◆ enum_pad_attribute

Enumerator
PA_UNDEFINED 
PA_PAD_SPACE 
PA_NO_PAD 

Member Function Documentation

◆ charset_id()

virtual Object_id dd::Collation::charset_id ( ) const
pure virtual

Implemented in dd::Collation_impl.

◆ clone()

virtual Collation * dd::Collation::clone ( ) const
pure virtual

Allocate a new object and invoke the copy constructor.

Returns
pointer to dynamically allocated copy

Implemented in dd::Collation_impl.

◆ clone_dropped_object_placeholder()

virtual Collation * dd::Collation::clone_dropped_object_placeholder ( ) const
pure virtual

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).

Implemented in dd::Collation_impl.

◆ is_compiled()

virtual bool dd::Collation::is_compiled ( ) const
pure virtual

Implemented in dd::Collation_impl.

◆ set_charset_id()

virtual void dd::Collation::set_charset_id ( Object_id  charset_id)
pure virtual

Implemented in dd::Collation_impl.

◆ sort_length()

virtual uint dd::Collation::sort_length ( ) const
pure virtual

Implemented in dd::Collation_impl.

◆ update_aux_key()

virtual bool dd::Collation::update_aux_key ( Aux_key ) const
inlinevirtual

◆ update_id_key() [1/2]

virtual bool dd::Collation::update_id_key ( Id_key key) const
inlinevirtual

◆ update_id_key() [2/2]

bool dd::Collation::update_id_key ( Id_key key,
Object_id  id 
)
static

◆ update_name_key() [1/2]

virtual bool dd::Collation::update_name_key ( Name_key key) const
inlinevirtual

◆ update_name_key() [2/2]

bool dd::Collation::update_name_key ( Name_key key,
const String_type name 
)
static

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