MySQL 8.3.0
Source Code Documentation
Plugin_table Class Reference

Class to hold information regarding a table to be created on behalf of a plugin. More...

#include <plugin_table.h>

Inheritance diagram for Plugin_table:
[legend]

Public Member Functions

 Plugin_table (const char *schema_name, const char *table_name, const char *definition, const char *options, const char *tablespace_name)
 
virtual ~Plugin_table ()=default
 
const char * get_schema_name () const
 
const char * get_name () const
 
const char * get_table_definition () const
 
const char * get_table_options () const
 
const char * get_tablespace_name () const
 
virtual const char * get_object_type () const
 
dd::String_type get_qualified_name () const
 
virtual dd::String_type get_ddl () const
 

Private Attributes

const char * m_schema_name
 
const char * m_table_name
 
const char * m_table_definition
 
const char * m_table_options
 
const char * m_tablespace_name
 

Detailed Description

Class to hold information regarding a table to be created on behalf of a plugin.

The class stores the name, definition, options and optional tablespace of the table. The definition should not contain the 'CREATE TABLE name' prefix.

Note
The data members are not owned by the class, and will not be deleted when this instance is deleted.

Constructor & Destructor Documentation

◆ Plugin_table()

Plugin_table::Plugin_table ( const char *  schema_name,
const char *  table_name,
const char *  definition,
const char *  options,
const char *  tablespace_name 
)
inline

◆ ~Plugin_table()

virtual Plugin_table::~Plugin_table ( )
virtualdefault

Member Function Documentation

◆ get_ddl()

virtual dd::String_type Plugin_table::get_ddl ( ) const
inlinevirtual

Reimplemented in Plugin_view.

◆ get_name()

const char * Plugin_table::get_name ( ) const
inline

◆ get_object_type()

virtual const char * Plugin_table::get_object_type ( ) const
inlinevirtual

Reimplemented in Plugin_view.

◆ get_qualified_name()

dd::String_type Plugin_table::get_qualified_name ( ) const
inline

◆ get_schema_name()

const char * Plugin_table::get_schema_name ( ) const
inline

◆ get_table_definition()

const char * Plugin_table::get_table_definition ( ) const
inline

◆ get_table_options()

const char * Plugin_table::get_table_options ( ) const
inline

◆ get_tablespace_name()

const char * Plugin_table::get_tablespace_name ( ) const
inline

Member Data Documentation

◆ m_schema_name

const char* Plugin_table::m_schema_name
private

◆ m_table_definition

const char* Plugin_table::m_table_definition
private

◆ m_table_name

const char* Plugin_table::m_table_name
private

◆ m_table_options

const char* Plugin_table::m_table_options
private

◆ m_tablespace_name

const char* Plugin_table::m_tablespace_name
private

The documentation for this class was generated from the following file: