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

Base class for all main DB objects. More...

#include <abstract_data_object.h>

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

Public Member Functions

 ~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
 

Protected Member Functions

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

Private Attributes

uint64 m_id
 An unique ID of this DB object. More...
 
std::string m_schema
 Schema in which object is contained. More...
 
std::string m_name
 Name of object in schema. More...
 

Detailed Description

Base class for all main DB objects.

Constructor & Destructor Documentation

◆ ~Abstract_data_object()

Abstract_data_object::~Abstract_data_object ( )
overridedefault

◆ Abstract_data_object()

Abstract_data_object::Abstract_data_object ( uint64  id,
const std::string &  name,
const std::string &  schema 
)
protected

Member Function Documentation

◆ get_id()

uint64 Abstract_data_object::get_id ( ) const

Returns an unique ID of this DB object.

This helps progress watching with multiple parts of chain during object processing (including queuing).

◆ get_name()

std::string Abstract_data_object::get_name ( ) const

Returns name of object in schema.

◆ get_schema()

std::string Abstract_data_object::get_schema ( ) const

Returns schema in which object is contained.

Member Data Documentation

◆ m_id

uint64 Mysql::Tools::Dump::Abstract_data_object::m_id
private

An unique ID of this DB object.

This helps progress watching with multiple parts of chain during object processing (including queuing).

◆ m_name

std::string Mysql::Tools::Dump::Abstract_data_object::m_name
private

Name of object in schema.

◆ m_schema

std::string Mysql::Tools::Dump::Abstract_data_object::m_schema
private

Schema in which object is contained.


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