Public Member Functions | |
| SQLInsertExportHandler (std::ostream &s) | |
| const char * | putRow (const BufferStringSet &) |
Public Attributes | |
| BufferString | tblname_ |
| name of the table: mandatory | |
| BufferStringSet | colnms_ |
| names of the columns: optional | |
| BufferString | indexcolnm_ |
| if not empty, will add column | |
| int | startindex_ |
| if indexcolnm_ set, startindex | |
| int | stepindex_ |
| if indexcolnm_ set, step index | |
| BufferStringSet | extracolvals_ |
| Values for columns not in input. | |
| BufferStringSet | extracolnms_ |
| Column names for extracolvals_. | |
Protected Member Functions | |
| void | addVal (int col, const char *) |
Protected Attributes | |
| int | nrrows_ |
| bool | addindex_ |
| int | nrextracols_ |
| Table::SQLInsertExportHandler::SQLInsertExportHandler | ( | std::ostream & | s | ) | [inline] |
| void Table::SQLInsertExportHandler::addVal | ( | int | col, | |
| const char * | ||||
| ) | [protected] |
| const char* Table::SQLInsertExportHandler::putRow | ( | const BufferStringSet & | ) | [virtual] |
Implements Table::ExportHandler.
bool Table::SQLInsertExportHandler::addindex_ [protected] |
names of the columns: optional
Column names for extracolvals_.
Values for columns not in input.
if not empty, will add column
int Table::SQLInsertExportHandler::nrextracols_ [protected] |
int Table::SQLInsertExportHandler::nrrows_ [protected] |
if indexcolnm_ set, startindex
if indexcolnm_ set, step index
name of the table: mandatory
1.7.1