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