MySQL
8.0.39
Source Code Documentation
abstract_database_dump_task.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2015, 2024, Oracle and/or its affiliates.
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License, version 2.0,
6
as published by the Free Software Foundation.
7
8
This program is designed to work with certain software (including
9
but not limited to OpenSSL) that is licensed under separate terms,
10
as designated in a particular file or component or in included license
11
documentation. The authors of MySQL hereby grant you an additional
12
permission to link the program and your derivative works with the
13
separately licensed software that they have either included with
14
the program or referenced in the documentation.
15
16
This program is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
GNU General Public License, version 2.0, for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
*/
25
26
#ifndef ABSTRACT_DATABASE_DUMP_TASK_INCLUDED
27
#define ABSTRACT_DATABASE_DUMP_TASK_INCLUDED
28
29
#include "
client/dump/abstract_dump_task.h
"
30
#include "
client/dump/database.h
"
31
32
namespace
Mysql
{
33
namespace
Tools {
34
namespace
Dump {
35
36
/**
37
Abstract class for defining single database definition dump task.
38
*/
39
class
Abstract_database_dump_task
:
public
Abstract_dump_task
{
40
public
:
41
explicit
Abstract_database_dump_task
(
Database
*related_database);
42
43
/**
44
Returns database the current task is created for.
45
*/
46
Database
*
get_related_database
();
47
};
48
49
}
// namespace Dump
50
}
// namespace Tools
51
}
// namespace Mysql
52
53
#endif
abstract_dump_task.h
Mysql::Tools::Dump::Abstract_database_dump_task
Abstract class for defining single database definition dump task.
Definition:
abstract_database_dump_task.h:39
Mysql::Tools::Dump::Abstract_database_dump_task::Abstract_database_dump_task
Abstract_database_dump_task(Database *related_database)
Definition:
abstract_database_dump_task.cc:34
Mysql::Tools::Dump::Abstract_database_dump_task::get_related_database
Database * get_related_database()
Returns database the current task is created for.
Definition:
abstract_database_dump_task.cc:30
Mysql::Tools::Dump::Abstract_dump_task
Base class for most individual dump process tasks, not suitable for lightweight dump tasks (e....
Definition:
abstract_dump_task.h:44
Mysql::Tools::Dump::Database
Definition:
database.h:36
database.h
Mysql
Definition:
abstract_connection_program.h:38
client
dump
abstract_database_dump_task.h
Generated by
1.9.2