24#ifndef DD__ABSTRACT_TABLE_IMPL_INCLUDED
25#define DD__ABSTRACT_TABLE_IMPL_INCLUDED
52class Open_dictionary_tables_ctx;
This class represents abstract time zone and provides basic interface for MYSQL_TIME <-> my_time_t co...
Definition: tztime.h:49
Definition: abstract_table_impl.h:58
bool store_attributes(Raw_record *r) override
Definition: abstract_table_impl.cc:161
void set_created(ulonglong created) override
Definition: abstract_table_impl.h:132
Object_id m_schema_id
Definition: abstract_table_impl.h:216
Properties_impl m_options
Definition: abstract_table_impl.h:208
Properties & options() override
Definition: abstract_table_impl.h:114
const String_type & name() const override
Definition: abstract_table_impl.h:183
Object_id schema_id() const override
Definition: abstract_table_impl.h:89
void debug_print(String_type &outb) const override
Definition: abstract_table_impl.cc:239
bool validate() const override
Definition: abstract_table_impl.cc:110
Column_collection * columns() override
Definition: abstract_table_impl.h:164
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: abstract_table_impl.cc:342
uint m_mysql_version_id
Definition: abstract_table_impl.h:198
void set_hidden(enum_hidden_type hidden) override
Definition: abstract_table_impl.h:153
ulonglong last_altered(bool convert_time) const override
Definition: abstract_table_impl.h:138
void set_schema_id(Object_id schema_id) override
Definition: abstract_table_impl.h:91
Object_id id() const override
The unique dictionary object id.
Definition: abstract_table_impl.h:179
void set_last_altered(ulonglong last_altered) override
Definition: abstract_table_impl.h:143
bool restore_attributes(const Raw_record &r) override
Definition: abstract_table_impl.cc:142
Column * add_column() override
Definition: abstract_table_impl.cc:270
const Object_table & object_table() const override
Definition: abstract_table_impl.cc:336
void set_name(const String_type &name) override
Definition: abstract_table_impl.h:186
const Column_collection & columns() const override
Definition: abstract_table_impl.h:162
const Properties & options() const override
Definition: abstract_table_impl.h:112
Column_collection m_columns
Definition: abstract_table_impl.h:212
enum_hidden_type m_hidden
Definition: abstract_table_impl.h:206
uint mysql_version_id() const override
Definition: abstract_table_impl.h:100
Entity_object_impl * impl() override
Definition: abstract_table_impl.h:175
bool restore_children(Open_dictionary_tables_ctx *otx) override
Definition: abstract_table_impl.cc:122
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const
Definition: abstract_table_impl.cc:203
bool drop_column(const String_type &name) override
Definition: abstract_table_impl.cc:276
bool set_options(const Properties &options) override
Definition: abstract_table_impl.h:116
bool store_children(Open_dictionary_tables_ctx *otx) override
Definition: abstract_table_impl.cc:129
~Abstract_table_impl() override=default
const Column * get_column(Object_id column_id) const
Definition: abstract_table_impl.cc:300
enum_hidden_type hidden() const override
Definition: abstract_table_impl.h:151
bool deserialize(Sdi_rcontext *rctx, const RJ_Value &val)
Definition: abstract_table_impl.cc:217
Abstract_table_impl()
Definition: abstract_table_impl.cc:99
ulonglong m_last_altered
Definition: abstract_table_impl.h:204
ulonglong created(bool convert_time) const override
Definition: abstract_table_impl.h:128
ulonglong m_created
Definition: abstract_table_impl.h:203
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: abstract_table_impl.h:180
const Entity_object_impl * impl() const override
Definition: abstract_table_impl.h:176
bool drop_children(Open_dictionary_tables_ctx *otx) const override
Definition: abstract_table_impl.cc:135
bool set_options(const String_type &options_raw) override
Definition: abstract_table_impl.h:120
Abstract base class for tables and views.
Definition: abstract_table.h:69
enum_hidden_type
Enumeration type which indicates whether the table is hidden, and if yes then which type of hidden ta...
Definition: abstract_table.h:103
Definition: collection.h:44
Definition: entity_object_impl.h:44
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:49
const String_type & name() const override
Definition: entity_object_impl.h:60
Entity_object_impl * impl() override
Definition: entity_object_impl.h:68
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:57
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:77
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:104
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
Definition: raw_record.h:46
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:231
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:129
ulonglong gmt_time_to_local_time(ulonglong gmt_time)
This function gets GMT time and adds value of time_zone to get the local time.
Definition: sql_time.cc:868
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:64
unsigned long long Object_id
Definition: object_id.h:31
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:49
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
Definition: options.cc:57
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
This header provides Rapidjson Type Aliases.
Interface for server time utilities.