#include <CifSchemaMap.h>
Inherits DbOutput.
Inheritance diagram for BcpOutput:
Public Member Functions | |
BcpOutput (Db &db) | |
virtual | ~BcpOutput () |
void | WriteDataLoadingScripts (const string &path=std::string()) |
void | WriteData (Block &block, const string &path=std::string()) |
Private Member Functions | |
void | WriteDataLoadingScript (const string &path) |
void | WriteDataLoadingFile (const string &path=std::string()) |
void | WriteDelete (std::ostream &io) |
void | WriteEmptyString (std::ostream &io) |
void | WriteSpecialDateChar (std::ostream &io, const char &specDateChar) |
Static Private Attributes | |
static const string | _DATA_DELETE_FILE = "DB_LOADER_DELETE.sql" |
This class represents a BCP output. It re-implements methods for data and loading scripts generation.
BcpOutput::BcpOutput | ( | Db & | db | ) |
BcpOutput::~BcpOutput | ( | ) | [virtual] |
void BcpOutput::WriteData | ( | Block & | block, | |
const string & | path = std::string() | |||
) |
void BcpOutput::WriteDataLoadingFile | ( | const string & | path = std::string() |
) | [private] |
void BcpOutput::WriteDataLoadingScript | ( | const string & | path | ) | [private] |
void BcpOutput::WriteDataLoadingScripts | ( | const string & | path = std::string() |
) |
void BcpOutput::WriteDelete | ( | std::ostream & | io | ) | [private] |
void BcpOutput::WriteEmptyString | ( | std::ostream & | io | ) | [private, virtual] |
Reimplemented from DbOutput.
void BcpOutput::WriteSpecialDateChar | ( | std::ostream & | io, | |
const char & | specDateChar | |||
) | [private, virtual] |
Reimplemented from DbOutput.
const string BcpOutput::_DATA_DELETE_FILE = "DB_LOADER_DELETE.sql" [static, private] |