MySQL 8.0.39
Source Code Documentation
|
#include <view_impl.h>
Public Member Functions | |
View_impl () | |
~View_impl () override=default | |
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 |
void | remove_children () override |
Clear View columns, View_tables and View_routines collections. More... | |
bool | restore_attributes (const Raw_record &r) override |
bool | store_attributes (Raw_record *r) override |
void | debug_print (String_type &outb) const override |
enum_table_type | type () const override |
void | set_system_view (bool system_view) override |
Object_id | client_collation_id () const override |
void | set_client_collation_id (Object_id client_collation_id) override |
Object_id | connection_collation_id () const override |
void | set_connection_collation_id (Object_id connection_collation_id) override |
const String_type & | definition () const override |
void | set_definition (const String_type &definition) override |
const String_type & | definition_utf8 () const override |
void | set_definition_utf8 (const String_type &definition_utf8) override |
enum_check_option | check_option () const override |
void | set_check_option (enum_check_option check_option) override |
bool | is_updatable () const override |
void | set_updatable (bool updatable) override |
enum_algorithm | algorithm () const override |
void | set_algorithm (enum_algorithm algorithm) override |
enum_security_type | security_type () const override |
void | set_security_type (enum_security_type security_type) override |
const String_type & | definer_user () const override |
const String_type & | definer_host () const override |
void | set_definer (const String_type &username, const String_type &hostname) override |
const Properties & | column_names () const override |
Properties & | column_names () override |
View_table * | add_table () override |
const View_tables & | tables () const override |
View_routine * | add_routine () override |
const View_routines & | routines () const override |
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 |
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 |
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 (const String_type &name) const override |
Column * | get_column (const String_type &name) |
enum_hidden_type | hidden () const override |
void | set_hidden (enum_hidden_type hidden) override |
Public Member Functions inherited from dd::Abstract_table_impl | |
const Object_table & | object_table () const override |
const Column * | get_column (Object_id column_id) const |
Column * | get_column (Object_id column_id) |
Column * | get_column (const String_type &name) |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
void | set_id (Object_id id) |
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... | |
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 | |
Public Member Functions inherited from dd::View | |
~View () override=default | |
bool | is_system_view () const |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Static Public Member Functions inherited from dd::Abstract_table_impl | |
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) |
Private Member Functions | |
View_impl (const View_impl &src) | |
View_impl * | clone () const override |
Allocate a new object graph and invoke the copy constructor for each object. More... | |
View_impl * | 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. More... | |
dd::View_impl::View_impl | ( | ) |
|
overridedefault |
|
private |
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
overridevirtual |
Implements dd::View.
|
overridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverrideprivatevirtual |
Allocate a new object graph and invoke the copy constructor for each object.
Implements dd::View.
|
inlineoverrideprivatevirtual |
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.
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inline |
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
The unique dictionary object id.
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
static |
|
overridevirtual |
Clear View columns, View_tables and View_routines collections.
Implements dd::View.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::View.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
inlineoverridevirtual |
Implements dd::View.
|
inlineoverridevirtual |
Implements dd::Abstract_table.
|
overridevirtual |
Reimplemented from dd::Abstract_table_impl.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |