Inheritance diagram for DtAccessCommandFactory:
Collaboration diagram for DtAccessCommandFactory:Public Member Functions | |
| 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. | |
Protected Types | |
|
typedef std::map< DtString, DtString > | TranslationMap |
Protected Member Functions | |
| virtual const DtString & | translateName (const DtString &) |
| Translate name if it is reserved, or else simply pass it through. | |
| virtual int | validDisplaySize (int size) |
| Verify the display size is valid. | |
| virtual DtString | createArgList (const DtDatabaseTable &table) |
| virtual DtString | createColumnList (const DtDatabaseTable &table) |
| virtual DtString | createColumnRep (const DtDatabaseColumn &column) |
| virtual DtString | dataTypeToSqlString (const DtDatabaseColumn &column) |
Protected Attributes | |
| TranslationMap | myTranslationMap |
Static Protected Attributes | |
| static unsigned int | theMaximumColumnSize |
| static unsigned int | theMaximumNotesSize |