MySQL 8.0.40
Source Code Documentation
|
#include <abstract_table_impl.h>
Public Member Functions | |
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 | debug_print (String_type &outb) const override |
Object_id | schema_id () const override |
void | set_schema_id (Object_id schema_id) override |
uint | mysql_version_id () const 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 |
ulonglong | created (bool convert_time) const override |
void | set_created (ulonglong created) override |
ulonglong | last_altered (bool convert_time) const override |
void | set_last_altered (ulonglong last_altered) override |
enum_hidden_type | hidden () const override |
void | set_hidden (enum_hidden_type hidden) override |
Column * | add_column () override |
bool | drop_column (const String_type &name) override |
const Column_collection & | columns () const override |
Column_collection * | columns () override |
const Column * | get_column (Object_id column_id) const |
Column * | get_column (Object_id column_id) |
const Column * | get_column (const String_type &name) const override |
Column * | get_column (const String_type &name) |
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 () | |
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... | |
Public Member Functions inherited from dd::Abstract_table | |
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 |
~Abstract_table () override=default | |
virtual enum_table_type | type () const =0 |
virtual Abstract_table * | clone () const =0 |
Allocate a new object graph and invoke the copy constructor for each object. More... | |
virtual Abstract_table * | clone_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. More... | |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Static Public Member Functions inherited from dd::Abstract_table | |
static bool | update_id_key (Id_key *key, Object_id id) |
static bool | update_name_key (Name_key *key, Object_id schema_id, const String_type &name) |
Protected Member Functions | |
void | serialize (Sdi_wcontext *wctx, Sdi_writer *w) const |
bool | deserialize (Sdi_rcontext *rctx, const RJ_Value &val) |
Abstract_table_impl () | |
~Abstract_table_impl () override=default | |
Abstract_table_impl (const Abstract_table_impl &src) | |
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 |
Private Attributes | |
uint | m_mysql_version_id |
ulonglong | m_created |
ulonglong | m_last_altered |
enum_hidden_type | m_hidden |
Properties_impl | m_options |
Column_collection | m_columns |
Object_id | m_schema_id |
Additional Inherited Members | |
Public Types inherited from dd::Abstract_table | |
enum | enum_hidden_type { HT_VISIBLE = 1 , HT_HIDDEN_SYSTEM , HT_HIDDEN_SE , HT_HIDDEN_DDL } |
Enumeration type which indicates whether the table is hidden, and if yes then which type of hidden table it is. More... | |
typedef Abstract_table_impl | Impl |
typedef Abstract_table | Cache_partition |
typedef tables::Tables | DD_table |
typedef Primary_id_key | Id_key |
typedef Item_name_key | Name_key |
typedef Se_private_id_key | Aux_key |
typedef Collection< Column * > | Column_collection |
|
protected |
|
overrideprotecteddefault |
|
protected |
|
overridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Implements dd::Weak_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
protected |
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
Column * dd::Abstract_table_impl::get_column | ( | const String_type & | name | ) |
|
overridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
The unique dictionary object id.
Implements dd::Entity_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Entity_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Entity_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Implements dd::Entity_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Entity_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
protected |
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Entity_object.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
Reimplemented in dd::Table_impl, and dd::View_impl.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |