MySQL 8.0.39
Source Code Documentation
|
Abstract base class for tables and views. More...
#include <abstract_table.h>
Public Types | |
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 |
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 |
~Abstract_table () override=default | |
virtual Object_id | schema_id () const =0 |
virtual void | set_schema_id (Object_id schema_id)=0 |
virtual uint | mysql_version_id () const =0 |
virtual const Properties & | options () const =0 |
virtual Properties & | options ()=0 |
virtual bool | set_options (const Properties &options)=0 |
virtual bool | set_options (const String_type &options_raw)=0 |
virtual ulonglong | created (bool convert_time) const =0 |
virtual void | set_created (ulonglong created)=0 |
virtual ulonglong | last_altered (bool convert_time) const =0 |
virtual void | set_last_altered (ulonglong last_altered)=0 |
virtual enum_table_type | type () const =0 |
virtual enum_hidden_type | hidden () const =0 |
virtual void | set_hidden (enum_hidden_type hidden)=0 |
virtual Column * | add_column ()=0 |
virtual bool | drop_column (const String_type &name)=0 |
virtual const Column_collection & | columns () const =0 |
virtual Column_collection * | columns ()=0 |
virtual const Column * | get_column (const String_type &name) 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... | |
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_type & | name () 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, Object_id schema_id, const String_type &name) |
Abstract base class for tables and views.
|
overridedefault |
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Allocate a new object graph and invoke the copy constructor for each object.
Implemented in dd::Table_impl, dd::View_impl, dd::Table, and dd::View.
|
pure virtual |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry.
Such object has the same keys as the original but has no other info and as result occupies less memory.
Implemented in dd::Table_impl, dd::View_impl, dd::Table, and dd::View.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Abstract_table_impl, dd::Table_impl, and dd::View_impl.
|
pure virtual |
Implemented in dd::Table_impl, and dd::View_impl.
|
inlinevirtual |
Reimplemented in dd::Table_impl, and dd::Table.
|
inlinevirtual |
|
inlinevirtual |
|
static |