![]() |
MAK Data Logger API Documentation for DIS
|
Inheritance diagram for DtSqlCommandFactory:
Collaboration diagram for DtSqlCommandFactory:Public Member Functions | |
| DtSqlCommandFactory () | |
| virtual | ~DtSqlCommandFactory () |
| virtual DtString | createDatabase (const DtString &databaseName) |
| virtual DtString | deleteDatabase (const DtString &dbName) |
| virtual DtString | createTable (const DtDatabaseTable &table) |
| Generate the command to create a table. | |
| virtual DtString | deleteTable (const DtDatabaseTable &table) |
| Generate the command to create a table. | |
| virtual void | insertTable (std::vector< DtString > &commands, const DtDatabaseTable &table) |
| Generate the command to insert data into a table. | |
| virtual DtString | updateTable (const DtDatabaseTable &table, const std::vector< DtString > &columnsToSet, const DtString &whereCondition) |
| Generate the command to update data in the table. | |
| virtual DtString | createConditionString (const DtDatabaseColumn &column, const DtString &columnValue, ConditionOperator anOperator) |
| Creeate a Condition string for a column. | |
| virtual DtString | combineConditionStrings (const DtString &conditionOne, const DtString &conditionTwo, MergeOperator anOperator) |
| Create a condition string from two existing conditions. | |
Public Member Functions inherited from DtDatabaseCommandFactory | |
| DtDatabaseCommandFactory () | |
| Default CTOR. | |
| virtual | ~DtDatabaseCommandFactory () |
| Default DTOR. | |
Protected Member Functions | |
| virtual DtString | createArgList (const DtDatabaseTable &table) |
| virtual DtString | createColumnList (const DtDatabaseTable &table) |
| virtual DtString | createColumnRep (const DtDatabaseColumn &column) |
| virtual DtString | dataTypeToSqlString (DtDatabaseColumn::DataType storageType) |
Additional Inherited Members | |
Public Types inherited from DtDatabaseCommandFactory | |
| enum | ConditionOperator { Equals, NotEquals } |
| enum | MergeOperator { And, Or } |
| DtSqlCommandFactory::DtSqlCommandFactory | ( | ) |
|
virtual |
|
virtual |
Create a condition string from two existing conditions.
Implements DtDatabaseCommandFactory.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Creeate a Condition string for a column.
Implements DtDatabaseCommandFactory.
|
virtual |
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to create a table.
Implements DtDatabaseCommandFactory.
|
protectedvirtual |
|
virtual |
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to create a table.
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to insert data into a table.
Implements DtDatabaseCommandFactory.
|
virtual |
Generate the command to update data in the table.
Implements DtDatabaseCommandFactory.