![]() |
MySQL 8.0.43
Source Code Documentation
|
Main interface class enabling users to operate on data dictionary. More...
#include <dictionary.h>
Public Member Functions | |
| virtual const Object_table * | get_dd_table (const String_type &schema_name, const String_type &table_name) const =0 |
| Get dictionary object for a given dictionary table name. More... | |
| virtual bool | is_dd_schema_name (const String_type &schema_name) const =0 |
| Check if the given schema name is 'mysql', which where the DD tables are stored. More... | |
| virtual bool | is_dd_table_name (const String_type &schema_name, const String_type &table_name) const =0 |
| Check if given table name is a dictionary table name. More... | |
| virtual bool | is_system_table_name (const String_type &schema_name, const String_type &table_name) const =0 |
| Check if given table name is a system table name. More... | |
| virtual int | table_type_error_code (const String_type &schema_name, const String_type &table_name) const =0 |
| Get the error code representing the type name string for a dictionary or system table. More... | |
| virtual bool | is_dd_table_access_allowed (bool is_dd_internal_thread, bool is_ddl_statement, const char *schema_name, size_t schema_length, const char *table_name) const =0 |
| Check if given table name can be accessed by the given thread type. More... | |
| virtual bool | is_system_view_name (const char *schema_name, const char *table_name, bool *hidden) const =0 |
| Check if given table name is a system view name. More... | |
| virtual bool | is_system_view_name (const char *schema_name, const char *table_name) const =0 |
| Check if given table name is a system view name. More... | |
| virtual | ~Dictionary ()=default |
Main interface class enabling users to operate on data dictionary.
|
virtualdefault |
|
pure virtual |
Get dictionary object for a given dictionary table name.
If the given schema_name and table_name is not a dictionary table name, then the function returns NULL.
Implemented in dd::Dictionary_impl.
|
pure virtual |
Check if the given schema name is 'mysql', which where the DD tables are stored.
| schema_name | Schema name to check. |
Implemented in dd::Dictionary_impl.
|
pure virtual |
Check if given table name can be accessed by the given thread type.
| is_dd_internal_thread | 'true' if this is a DD internal thread. |
| is_ddl_statement | 'true' if this is a DDL statement. |
| schema_name | Schema name to check. |
| schema_length | Length of schema name to check. |
| table_name | Table name to check. |
Implemented in dd::Dictionary_impl.
|
pure virtual |
Check if given table name is a dictionary table name.
| schema_name | Schema name to check. |
| table_name | Table name to check. |
Implemented in dd::Dictionary_impl.
|
pure virtual |
Check if given table name is a system table name.
| schema_name | Schema name to check. |
| table_name | Table name to check. |
Implemented in dd::Dictionary_impl.
|
pure virtual |
Check if given table name is a system view name.
| schema_name | Schema name to check. |
| table_name | Table name to check. |
Implemented in dd::Dictionary_impl.
|
pure virtual |
Check if given table name is a system view name.
| schema_name | Schema name to check. | |
| table_name | Table name to check. | |
| [out] | hidden | Pointer to boolean flag indicating if the object is hidden. |
Implemented in dd::Dictionary_impl.
|
pure virtual |
Get the error code representing the type name string for a dictionary or system table.
Necessary to support localization of error messages.
| schema_name | Schema name to check. |
| table_name | Table name to check. |
Implemented in dd::Dictionary_impl.