MySQL 8.4.2
Source Code Documentation
|
#include <column_impl.h>
Public Member Functions | |
Column_impl () | |
Column_impl (Abstract_table_impl *table) | |
Column_impl (const Column_impl &src, Abstract_table_impl *parent) | |
~Column_impl () override | |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_children (Open_dictionary_tables_ctx *otx) override |
bool | store_children (Open_dictionary_tables_ctx *otx) override |
bool | drop_children (Open_dictionary_tables_ctx *otx) const override |
bool | restore_attributes (const Raw_record &r) override |
bool | store_attributes (Raw_record *r) override |
void | serialize (Sdi_wcontext *wctx, Sdi_writer *w) const override |
Converts *this into json. More... | |
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 provided. More... | |
void | debug_print (String_type &outb) const override |
void | set_ordinal_position (uint ordinal_position) |
const Abstract_table & | table () const override |
Abstract_table & | table () override |
enum_column_types | type () const override |
void | set_type (enum_column_types type) override |
Object_id | collation_id () const override |
void | set_collation_id (Object_id collation_id) override |
void | set_is_explicit_collation (bool is_explicit_collation) override |
bool | is_explicit_collation () const override |
bool | is_nullable () const override |
void | set_nullable (bool nullable) override |
bool | is_zerofill () const override |
void | set_zerofill (bool zerofill) override |
bool | is_unsigned () const override |
void | set_unsigned (bool unsigned_flag) override |
bool | is_auto_increment () const override |
void | set_auto_increment (bool auto_increment) override |
uint | ordinal_position () const override |
size_t | char_length () const override |
void | set_char_length (size_t char_length) override |
uint | numeric_precision () const override |
void | set_numeric_precision (uint numeric_precision) override |
uint | numeric_scale () const override |
void | set_numeric_scale (uint numeric_scale) override |
void | set_numeric_scale_null (bool is_null) override |
bool | is_numeric_scale_null () const override |
uint | datetime_precision () const override |
void | set_datetime_precision (uint datetime_precision) override |
void | set_datetime_precision_null (bool is_null) override |
bool | is_datetime_precision_null () const override |
bool | has_no_default () const override |
void | set_has_no_default (bool has_no_default) override |
const String_type & | default_value () const override |
void | set_default_value (const String_type &default_value) override |
void | set_default_value_null (bool is_null) override |
bool | is_default_value_null () const override |
const String_type & | default_value_utf8 () const override |
void | set_default_value_utf8 (const String_type &default_value_utf8) override |
void | set_default_value_utf8_null (bool is_null) override |
bool | is_default_value_utf8_null () const override |
bool | is_virtual () const override |
void | set_virtual (bool is_virtual) override |
const String_type & | generation_expression () const override |
void | set_generation_expression (const String_type &generation_expression) override |
bool | is_generation_expression_null () const override |
const String_type & | generation_expression_utf8 () const override |
void | set_generation_expression_utf8 (const String_type &generation_expression_utf8) override |
bool | is_generation_expression_utf8_null () const override |
const String_type & | default_option () const override |
void | set_default_option (const String_type &default_option) override |
const String_type & | update_option () const override |
void | set_update_option (const String_type &update_option) override |
const String_type & | comment () const override |
void | set_comment (const String_type &comment) override |
enum_hidden_type | hidden () const override |
void | set_hidden (enum_hidden_type hidden) override |
const Properties & | options () const override |
Properties & | options () override |
bool | set_options (const String_type &options_raw) override |
const Properties & | se_private_data () const override |
Properties & | se_private_data () override |
bool | set_se_private_data (const Properties &se_private_data) override |
bool | set_se_private_data (const String_type &se_private_data_raw) override |
LEX_CSTRING | engine_attribute () const override |
void | set_engine_attribute (LEX_CSTRING a) override |
LEX_CSTRING | secondary_engine_attribute () const override |
void | set_secondary_engine_attribute (LEX_CSTRING a) override |
void | set_column_key (enum_column_key column_key) override |
enum_column_key | column_key () const override |
void | set_srs_id (std::optional< gis::srid_t > srs_id) override |
std::optional< gis::srid_t > | srs_id () const override |
Column_type_element * | add_element () override |
const Column_type_element_collection & | elements () const override |
const String_type & | column_type_utf8 () const override |
void | set_column_type_utf8 (const String_type &column_type_utf8) override |
size_t | elements_count () const override |
Entity_object_impl * | impl () override |
const Entity_object_impl * | impl () const override |
Object_id | id () const override |
The unique dictionary object id. More... | |
bool | is_persistent () const override |
Is dictionary object persistent in dictionary tables ? More... | |
const String_type & | name () const override |
void | set_name (const String_type &name) override |
bool | is_array () const override |
Column_impl * | clone (Abstract_table_impl *parent) const |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
Object_id | id () const override |
The unique dictionary object id. More... | |
void | set_id (Object_id id) |
bool | is_persistent () const override |
Is dictionary object persistent in dictionary tables ? More... | |
const String_type & | name () const override |
void | set_name (const String_type &name) override |
Object_key * | create_primary_key () const override |
bool | has_new_primary_key () const override |
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g. More... | |
Entity_object_impl * | impl () override |
const Entity_object_impl * | impl () const override |
Public Member Functions inherited from dd::Weak_object | |
Weak_object ()=default | |
Weak_object (const Weak_object &)=default | |
virtual | ~Weak_object ()=default |
Public Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
Weak_object_impl_ ()=default | |
~Weak_object_impl_ () override=default | |
void * | operator new (size_t size, const std::nothrow_t &nt) noexcept |
void | operator delete (void *ptr, const std::nothrow_t &nt) noexcept |
void * | operator new (size_t size) noexcept |
void | operator delete (void *ptr) noexcept |
virtual bool | store (Open_dictionary_tables_ctx *otx) |
Store the DD object into DD table. More... | |
bool | drop (Open_dictionary_tables_ctx *otx) const |
Drop the DD object from DD table. More... | |
Public Member Functions inherited from dd::Column | |
~Column () override=default | |
bool | is_se_hidden () const |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
static Column_impl * | restore_item (Abstract_table_impl *table) |
static Column_impl * | clone (const Column_impl &other, Abstract_table_impl *table) |
dd::Column_impl::Column_impl | ( | ) |
dd::Column_impl::Column_impl | ( | Abstract_table_impl * | table | ) |
dd::Column_impl::Column_impl | ( | const Column_impl & | src, |
Abstract_table_impl * | parent | ||
) |
|
overridedefault |
|
overridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inline |
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
overridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
overridevirtual |
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.
rctx | stores book-keeping information for the deserialization process |
val | subobject of rapidjson DOM containing json representation of this object |
Implements dd::Column.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
The unique dictionary object id.
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
overridevirtual |
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.
wctx | opaque context for data needed by serialization |
w | rapidjson writer which will perform conversion to json |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Entity_object.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inline |
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Implements dd::Column.
|
overridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
inlineoverridevirtual |
Implements dd::Column.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |