24#ifndef DD__VIEW_INCLUDED
25#define DD__VIEW_INCLUDED
Abstract base class for tables and views.
Definition: abstract_table.h:69
virtual enum_table_type type() const =0
Definition: collection.h:44
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
Definition: view_impl.h:55
Definition: view_routine.h:42
Definition: view_table.h:42
enum_algorithm
Definition: view.h:54
@ VA_MERGE
Definition: view.h:56
@ VA_TEMPORARY_TABLE
Definition: view.h:55
@ VA_UNDEFINED
Definition: view.h:54
virtual Object_id connection_collation_id() const =0
virtual const String_type & definer_host() const =0
bool is_system_view() const
Definition: view.h:67
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_clie...
Collection< View_table * > View_tables
Definition: view.h:41
virtual void set_client_collation_id(Object_id client_collation_id)=0
virtual const View_tables & tables() const =0
Collection< View_routine * > View_routines
Definition: view.h:42
virtual const View_routines & routines() const =0
virtual void set_algorithm(enum_algorithm algorithm)=0
virtual View_routine * add_routine()=0
virtual void set_updatable(bool updatable)=0
virtual void set_connection_collation_id(Object_id connection_collation_id)=0
virtual const String_type & definer_user() const =0
virtual void remove_children()=0
Clear View columns, View_tables and View_routines collections.
virtual void set_definition(const String_type &definition)=0
enum_check_option
Definition: view.h:48
@ CO_NONE
Definition: view.h:48
@ CO_LOCAL
Definition: view.h:49
@ CO_CASCADED
Definition: view.h:50
virtual enum_check_option check_option() const =0
enum_security_type
Definition: view.h:58
@ ST_INVOKER
Definition: view.h:58
@ ST_DEFINER
Definition: view.h:58
@ ST_DEFAULT
Definition: view.h:58
View * clone() const override=0
Allocate a new object graph and invoke the copy constructor for each object.
virtual void set_definer(const String_type &username, const String_type &hostname)=0
virtual Object_id client_collation_id() const =0
virtual enum_security_type security_type() const =0
virtual Properties & column_names()=0
virtual const String_type & definition_utf8() const =0
View_impl Impl
Definition: view.h:43
virtual enum_algorithm algorithm() const =0
virtual void set_check_option(enum_check_option check_option)=0
virtual bool is_updatable() const =0
virtual void set_security_type(enum_security_type security_type)=0
virtual void set_definition_utf8(const String_type &definition_utf8)=0
virtual void set_system_view(bool system_view)=0
virtual View_table * add_table()=0
virtual const Properties & column_names() const =0
virtual const String_type & definition() const =0
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51