#include <tablespace_file_impl.h>
◆ Tablespace_file_impl() [1/3]
dd::Tablespace_file_impl::Tablespace_file_impl |
( |
| ) |
|
◆ Tablespace_file_impl() [2/3]
dd::Tablespace_file_impl::Tablespace_file_impl |
( |
Tablespace_impl * |
tablespace | ) |
|
◆ Tablespace_file_impl() [3/3]
◆ ~Tablespace_file_impl()
dd::Tablespace_file_impl::~Tablespace_file_impl |
( |
| ) |
|
|
inlineoverride |
◆ clone()
◆ create_primary_key()
Object_key * dd::Tablespace_file_impl::create_primary_key |
( |
| ) |
const |
|
overridevirtual |
◆ debug_print()
void dd::Tablespace_file_impl::debug_print |
( |
String_type & |
outb | ) |
const |
|
overridevirtual |
◆ deserialize()
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provided.
Cross-references encountered within this object are tracked in sdictx, so that they can be updated when the entire object graph has been established.
- Parameters
-
rctx | stores book-keeping information for the deserialization process |
val | subobject of rapidjson DOM containing json representation of this object |
Implements dd::Tablespace_file.
◆ filename()
const String_type& dd::Tablespace_file_impl::filename |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ has_new_primary_key()
bool dd::Tablespace_file_impl::has_new_primary_key |
( |
| ) |
const |
|
overridevirtual |
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g.
because it only will be generated using auto-increment at store() time). So it is ok for store() method to skip lookup of existing object with the same primary key and simply try to insert new object into the table.
Implements dd::Weak_object_impl.
◆ object_table()
const Object_table & dd::Tablespace_file_impl::object_table |
( |
| ) |
const |
|
overridevirtual |
◆ ordinal_position()
uint dd::Tablespace_file_impl::ordinal_position |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ register_tables()
◆ restore_attributes()
bool dd::Tablespace_file_impl::restore_attributes |
( |
const Raw_record & |
r | ) |
|
|
overridevirtual |
◆ restore_item()
◆ se_private_data() [1/2]
const Properties& dd::Tablespace_file_impl::se_private_data |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ se_private_data() [2/2]
Properties& dd::Tablespace_file_impl::se_private_data |
( |
| ) |
|
|
inlineoverridevirtual |
◆ serialize()
Converts *this into json.
Converts all member variables that are to be included in the sdi into json by transforming them appropriately and passing them to the rapidjson writer provided.
- Parameters
-
wctx | opaque context for data needed by serialization |
w | rapidjson writer which will perform conversion to json |
Implements dd::Tablespace_file.
◆ set_filename()
void dd::Tablespace_file_impl::set_filename |
( |
const String_type & |
filename | ) |
|
|
inlineoverridevirtual |
◆ set_ordinal_position()
void dd::Tablespace_file_impl::set_ordinal_position |
( |
uint |
ordinal_position | ) |
|
|
inline |
◆ set_se_private_data()
bool dd::Tablespace_file_impl::set_se_private_data |
( |
const String_type & |
se_private_data_raw | ) |
|
|
inlineoverridevirtual |
◆ store()
Store the DD object into DD table.
- Parameters
-
otx | - DD transaction in use. |
- Returns
- true - on failure and error is reported.
-
false - on success.
Reimplemented from dd::Weak_object_impl.
◆ store_attributes()
◆ tablespace() [1/2]
const Tablespace & dd::Tablespace_file_impl::tablespace |
( |
| ) |
const |
|
overridevirtual |
◆ tablespace() [2/2]
Tablespace & dd::Tablespace_file_impl::tablespace |
( |
| ) |
|
|
overridevirtual |
◆ validate()
bool dd::Tablespace_file_impl::validate |
( |
| ) |
const |
|
overridevirtual |
◆ m_filename
◆ m_ordinal_position
uint dd::Tablespace_file_impl::m_ordinal_position |
|
private |
◆ m_se_private_data
◆ m_tablespace
The documentation for this class was generated from the following files: