#include <CifSchemaMap.h>
Inherits Db.
Inheritance diagram for DbMySql:
Public Member Functions | |
DbMySql (SchemaMap &schemaMapping, const string &dbName=DB_DEFAULT_NAME) | |
~DbMySql () | |
void | GetStart (string &start) |
void | DropTableSql (std::ostream &io, const string &tableNameDb) |
void | WriteLoad (std::ostream &io) |
void | WriteLoadingStart (std::ostream &io) |
void | WriteLoadingTable (std::ostream &io, const string &tableName, const string &path) |
void | WriteTableIndex (std::ostream &io, const string &tableNameDb, const vector< string > &indexList) |
void | WriteNull (std::ostream &io, const int iNull, const unsigned int curr, const unsigned int attSize) |
void | WriteNewLine (std::ostream &io, bool special=false) |
Static Private Attributes | |
static const string | _SQL_LOADING_FILE = "DB_LOADER_LOAD.sql" |
This class represents a MySQL database.
DbMySql::DbMySql | ( | SchemaMap & | schemaMapping, | |
const string & | dbName = DB_DEFAULT_NAME | |||
) |
DbMySql::~DbMySql | ( | ) |
void DbMySql::DropTableSql | ( | std::ostream & | io, | |
const string & | tableNameDb | |||
) |
void DbMySql::GetStart | ( | string & | start | ) |
void DbMySql::WriteLoad | ( | std::ostream & | io | ) | [virtual] |
Reimplemented from Db.
void DbMySql::WriteLoadingStart | ( | std::ostream & | io | ) | [virtual] |
Reimplemented from Db.
void DbMySql::WriteLoadingTable | ( | std::ostream & | io, | |
const string & | tableName, | |||
const string & | path | |||
) |
void DbMySql::WriteNewLine | ( | std::ostream & | io, | |
bool | special = false | |||
) | [virtual] |
Reimplemented from Db.
void DbMySql::WriteNull | ( | std::ostream & | io, | |
const int | iNull, | |||
const unsigned int | curr, | |||
const unsigned int | attSize | |||
) | [virtual] |
Reimplemented from Db.
void DbMySql::WriteTableIndex | ( | std::ostream & | io, | |
const string & | tableNameDb, | |||
const vector< string > & | indexList | |||
) |
const string DbMySql::_SQL_LOADING_FILE = "DB_LOADER_LOAD.sql" [static, private] |