MySQL 8.0.40
Source Code Documentation
Mysql::Tools::Dump::Abstract_plain_sql_object Class Reference

Abstract object carrying its definition in SQL formatted string only. More...

#include <abstract_plain_sql_object.h>

Inheritance diagram for Mysql::Tools::Dump::Abstract_plain_sql_object:
[legend]

Public Member Functions

 Abstract_plain_sql_object (uint64 id, const std::string &name, const std::string &schema, const std::string &sql_formatted_definition)
 
std::string get_sql_formatted_definition () const
 
void set_sql_formatted_definition (std::string)
 
- Public Member Functions inherited from Mysql::Tools::Dump::Abstract_data_object
 ~Abstract_data_object () override
 
uint64 get_id () const
 Returns an unique ID of this DB object. More...
 
std::string get_schema () const
 Returns schema in which object is contained. More...
 
std::string get_name () const
 Returns name of object in schema. More...
 
- Public Member Functions inherited from Mysql::Tools::Dump::I_data_object
virtual ~I_data_object ()=default
 

Private Attributes

std::string m_sql_formatted_definition
 SQL formatted object definition. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Mysql::Tools::Dump::Abstract_data_object
 Abstract_data_object (uint64 id, const std::string &name, const std::string &schema)
 

Detailed Description

Abstract object carrying its definition in SQL formatted string only.

Constructor & Destructor Documentation

◆ Abstract_plain_sql_object()

Abstract_plain_sql_object::Abstract_plain_sql_object ( uint64  id,
const std::string &  name,
const std::string &  schema,
const std::string &  sql_formatted_definition 
)

Member Function Documentation

◆ get_sql_formatted_definition()

std::string Abstract_plain_sql_object::get_sql_formatted_definition ( ) const

◆ set_sql_formatted_definition()

void Abstract_plain_sql_object::set_sql_formatted_definition ( std::string  new_def)

Member Data Documentation

◆ m_sql_formatted_definition

std::string Mysql::Tools::Dump::Abstract_plain_sql_object::m_sql_formatted_definition
private

SQL formatted object definition.


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