MySQL 9.1.0
Source Code Documentation
|
#include <table_stat_impl.h>
Public Member Functions | |
Table_stat_impl () | |
void | debug_print (String_type &outb) const override |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_attributes (const Raw_record &r) override |
bool | store_attributes (Raw_record *r) override |
const String_type & | schema_name () const override |
void | set_schema_name (const String_type &schema_name) override |
const String_type & | table_name () const override |
void | set_table_name (const String_type &table_name) override |
ulonglong | table_rows () const override |
void | set_table_rows (ulonglong table_rows) override |
ulonglong | avg_row_length () const override |
void | set_avg_row_length (ulonglong avg_row_length) override |
ulonglong | data_length () const override |
void | set_data_length (ulonglong data_length) override |
ulonglong | max_data_length () const override |
void | set_max_data_length (ulonglong max_data_length) override |
ulonglong | index_length () const override |
void | set_index_length (ulonglong index_length) override |
ulonglong | data_free () const override |
void | set_data_free (ulonglong data_free) override |
ulonglong | auto_increment () const override |
void | set_auto_increment (ulonglong auto_increment) override |
ulonglong | checksum () const override |
void | set_checksum (ulonglong checksum) override |
ulonglong | update_time () const override |
void | set_update_time (ulonglong update_time) override |
ulonglong | check_time () const override |
void | set_check_time (ulonglong check_time) override |
ulonglong | cached_time () const override |
void | set_cached_time (ulonglong cached_time) 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 |
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 |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
void | set_id (Object_id id) |
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... | |
virtual bool | restore_children (Open_dictionary_tables_ctx *) |
virtual bool | store_children (Open_dictionary_tables_ctx *) |
virtual bool | drop_children (Open_dictionary_tables_ctx *) const |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Additional Inherited Members | |
Public Types inherited from dd::Table_stat | |
typedef Table_stat_impl | Impl |
typedef tables::Table_stats | DD_table |
typedef Composite_char_key | Name_key |
Protected Member Functions inherited from dd::Entity_object_impl | |
void | set_primary_key_value (const Raw_new_record &r) override |
void | fix_has_new_primary_key () override |
void | restore_id (const Raw_record &r, int field_idx) |
void | restore_name (const Raw_record &r, int field_idx) |
bool | store_id (Raw_record *r, int field_idx) |
bool | store_name (Raw_record *r, int field_idx) |
bool | store_name (Raw_record *r, int field_idx, bool is_null) |
void | serialize (Sdi_wcontext *wctx, Sdi_writer *w) const |
bool | deserialize (Sdi_rcontext *rctx, const RJ_Value &val) |
Entity_object_impl (const Entity_object_impl &src) | |
Protected Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
bool | check_parent_consistency (Entity_object_impl *parent, Object_id parent_id) const |
|
inline |
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
overridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
overridevirtual |
Implements dd::Weak_object.
|
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.
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
The unique dictionary object id.
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
static |
The requirement is that we should be able to update Table_stats and Index_stats DD tables even when someone holds global read lock, when we execute ANALYZE TABLE.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
inlineoverridevirtual |
Implements dd::Table_stat.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |