#include <column_type_element_impl.h>
◆ Column_type_element_impl() [1/3]
dd::Column_type_element_impl::Column_type_element_impl |
( |
| ) |
|
|
inline |
◆ Column_type_element_impl() [2/3]
dd::Column_type_element_impl::Column_type_element_impl |
( |
Column_impl * |
column | ) |
|
|
inline |
◆ Column_type_element_impl() [3/3]
◆ ~Column_type_element_impl()
dd::Column_type_element_impl::~Column_type_element_impl |
( |
| ) |
|
|
overridedefault |
◆ clone()
◆ column()
const Column & dd::Column_type_element_impl::column |
( |
| ) |
const |
|
overridevirtual |
◆ create_primary_key()
Object_key * dd::Column_type_element_impl::create_primary_key |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ debug_print()
void dd::Column_type_element_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 |
- Return values
-
Implements dd::Column_type_element.
◆ has_new_primary_key()
bool dd::Column_type_element_impl::has_new_primary_key |
( |
| ) |
const |
|
overrideprotectedvirtual |
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_< use_pfs >.
◆ index()
uint dd::Column_type_element_impl::index |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ name()
const String_type & dd::Column_type_element_impl::name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ object_table()
const Object_table & dd::Column_type_element_impl::object_table |
( |
| ) |
const |
|
overridevirtual |
◆ ordinal_position()
virtual uint dd::Column_type_element_impl::ordinal_position |
( |
| ) |
const |
|
inlinevirtual |
◆ register_tables()
◆ restore_attributes()
bool dd::Column_type_element_impl::restore_attributes |
( |
const Raw_record & |
r | ) |
|
|
overridevirtual |
◆ restore_item()
◆ 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::Column_type_element.
◆ set_name()
void dd::Column_type_element_impl::set_name |
( |
const String_type & |
name | ) |
|
|
inlineoverridevirtual |
◆ set_ordinal_position()
void dd::Column_type_element_impl::set_ordinal_position |
( |
uint |
ordinal_position | ) |
|
|
inline |
◆ store_attributes()
bool dd::Column_type_element_impl::store_attributes |
( |
Raw_record * |
r | ) |
|
|
overridevirtual |
◆ validate()
bool dd::Column_type_element_impl::validate |
( |
| ) |
const |
|
overridevirtual |
◆ m_column
◆ m_index
uint dd::Column_type_element_impl::m_index |
|
protected |
◆ m_name
The documentation for this class was generated from the following files: