23#ifndef DD__TABLESPACE_FILES_IMPL_INCLUDED
24#define DD__TABLESPACE_FILES_IMPL_INCLUDED
43class Open_dictionary_tables_ctx;
Data structure that contains the information about shared tablespaces.
Definition: fsp0space.h:46
Definition: object_key.h:37
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:71
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:75
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:76
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:103
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:73
Definition: raw_record.h:45
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:230
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:128
Definition: tablespace_file_impl.h:52
static Tablespace_file_impl * clone(const Tablespace_file_impl &other, Tablespace_impl *ts)
Definition: tablespace_file_impl.h:130
bool store(Open_dictionary_tables_ctx *otx) override
Store the DD object into DD table.
Definition: tablespace_file_impl.cc:95
void debug_print(String_type &outb) const override
Definition: tablespace_file_impl.cc:169
Tablespace_impl * m_tablespace
Definition: tablespace_file_impl.h:147
bool deserialize(Sdi_rcontext *rctx, const RJ_Value &val) override
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provide...
Definition: tablespace_file_impl.cc:160
void set_ordinal_position(uint ordinal_position)
Definition: tablespace_file_impl.h:80
~Tablespace_file_impl() override=default
const String_type & filename() const override
Definition: tablespace_file_impl.h:97
uint ordinal_position() const override
Definition: tablespace_file_impl.h:91
bool restore_attributes(const Raw_record &r) override
Definition: tablespace_file_impl.cc:122
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: tablespace_file_impl.cc:150
uint m_ordinal_position
Definition: tablespace_file_impl.h:141
bool has_new_primary_key() const override
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e....
Definition: tablespace_file_impl.cc:187
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: tablespace_file_impl.cc:209
static Tablespace_file_impl * restore_item(Tablespace_impl *ts)
Definition: tablespace_file_impl.h:126
String_type m_filename
Definition: tablespace_file_impl.h:143
Properties & se_private_data() override
Definition: tablespace_file_impl.h:111
Object_key * create_primary_key() const override
Definition: tablespace_file_impl.cc:182
Properties_impl m_se_private_data
Definition: tablespace_file_impl.h:144
const Tablespace & tablespace() const override
Definition: tablespace_file_impl.cc:70
bool set_se_private_data(const String_type &se_private_data_raw) override
Definition: tablespace_file_impl.h:113
const Properties & se_private_data() const override
Definition: tablespace_file_impl.h:107
bool store_attributes(Raw_record *r) override
Definition: tablespace_file_impl.cc:137
Tablespace_file_impl()
Definition: tablespace_file_impl.cc:62
void set_filename(const String_type &filename) override
Definition: tablespace_file_impl.h:99
const Object_table & object_table() const override
Definition: tablespace_file_impl.cc:203
bool validate() const override
Definition: tablespace_file_impl.cc:110
Definition: tablespace_file.h:44
Definition: tablespace_impl.h:56
Definition: tablespace.h:54
Definition: weak_object_impl.h:47
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:63
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:48
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:85
This header provides Rapidjson Type Aliases.
unsigned int uint
Definition: uca9-dump.cc:74