MySQL  8.0.16
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>

Public Member Functions

 Plugin_table (const char *schema_name, const char *table_name, const char *definition, const char *options, const char *tablespace_name)
 
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
 
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

Member Function Documentation

◆ get_ddl()

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

◆ get_name()

const char* Plugin_table::get_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: