MySQL 8.0.40
Source Code Documentation
|
#include <view.h>
Public Types | |
enum | enum_check_option { CO_NONE = 1 , CO_LOCAL , CO_CASCADED } |
enum | enum_algorithm { VA_UNDEFINED = 1 , VA_TEMPORARY_TABLE , VA_MERGE } |
enum | enum_security_type { ST_DEFAULT = 1 , ST_INVOKER , ST_DEFINER } |
typedef Collection< View_table * > | View_tables |
typedef Collection< View_routine * > | View_routines |
typedef View_impl | Impl |
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 |
Public Member Functions | |
~View () override=default | |
bool | is_system_view () const |
virtual void | set_system_view (bool system_view)=0 |
virtual Object_id | client_collation_id () const =0 |
virtual void | set_client_collation_id (Object_id client_collation_id)=0 |
virtual Object_id | connection_collation_id () const =0 |
virtual void | set_connection_collation_id (Object_id connection_collation_id)=0 |
virtual const String_type & | definition () const =0 |
virtual void | set_definition (const String_type &definition)=0 |
virtual const String_type & | definition_utf8 () const =0 |
virtual void | set_definition_utf8 (const String_type &definition_utf8)=0 |
virtual enum_check_option | check_option () const =0 |
virtual void | set_check_option (enum_check_option check_option)=0 |
virtual bool | is_updatable () const =0 |
virtual void | set_updatable (bool updatable)=0 |
virtual enum_algorithm | algorithm () const =0 |
virtual void | set_algorithm (enum_algorithm algorithm)=0 |
virtual enum_security_type | security_type () const =0 |
virtual void | set_security_type (enum_security_type security_type)=0 |
virtual const String_type & | definer_user () const =0 |
virtual const String_type & | definer_host () const =0 |
virtual void | set_definer (const String_type &username, const String_type &hostname)=0 |
virtual const Properties & | column_names () const =0 |
virtual Properties & | column_names ()=0 |
virtual View_table * | add_table ()=0 |
virtual const View_tables & | tables () const =0 |
virtual View_routine * | add_routine ()=0 |
virtual const View_routines & | routines () const =0 |
View * | clone () const override=0 |
Allocate a new object graph and invoke the copy constructor for each object. More... | |
View * | clone_dropped_object_placeholder () const override=0 |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry. More... | |
virtual void | remove_children ()=0 |
Clear View columns, View_tables and View_routines collections. 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 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 |
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 |
Additional Inherited Members | |
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) |
typedef View_impl dd::View::Impl |
typedef Collection<View_routine *> dd::View::View_routines |
typedef Collection<View_table *> dd::View::View_tables |
|
overridedefault |
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
overridepure virtual |
Allocate a new object graph and invoke the copy constructor for each object.
Implements dd::Abstract_table.
Implemented in dd::View_impl.
|
overridepure 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.
Implements dd::Abstract_table.
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
inline |
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Clear View columns, View_tables and View_routines collections.
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.
|
pure virtual |
Implemented in dd::View_impl.