public class DerbyDDLGenerator extends DBDDLGenerator<DBDatabaseDriverDerby>
alterColumnPhrase, databaseObjectName, DATATYPE_BLOB, DATATYPE_BOOLEAN, DATATYPE_CHAR, DATATYPE_CLOB, DATATYPE_DATE, DATATYPE_DECIMAL, DATATYPE_FLOAT, DATATYPE_INT_BIG, DATATYPE_INT_SMALL, DATATYPE_INTEGER, DATATYPE_TIMESTAMP, DATATYPE_UNIQUEID, DATATYPE_VARCHAR, driver, namePrimaryKeyConstraint| Constructor and Description |
|---|
DerbyDDLGenerator(DBDatabaseDriverDerby driver) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
appendColumnDataType(DataType type,
double size,
DBTableColumn c,
StringBuilder sql)
appends the data type of a column
|
protected void |
appendColumnDesc(DBTableColumn c,
boolean alter,
StringBuilder sql)
Appends a table column definition to a ddl statement
|
addAlterTableStmt, addCreateIndexStmt, addCreateRelationStmt, addCreateTableStmt, addCreateViewStmt, alterTable, appendElementName, createDatabase, createIndex, createRelation, createTable, createTableIndexes, createView, detectQuoteName, dropDatabase, dropObject, getDDLScriptpublic DerbyDDLGenerator(DBDatabaseDriverDerby driver)
protected boolean appendColumnDataType(DataType type, double size, DBTableColumn c, StringBuilder sql)
DBDDLGeneratorappendColumnDataType in class DBDDLGenerator<DBDatabaseDriverDerby>type - the typesize - the sizesql - the builder that we will append toprotected void appendColumnDesc(DBTableColumn c, boolean alter, StringBuilder sql)
DBDDLGeneratorappendColumnDesc in class DBDDLGenerator<DBDatabaseDriverDerby>c - the column which description to appendalter - true if altering an existing column or false otherwisesql - the sql builder objectCopyright © 2008–2022 Apache Software Foundation. All rights reserved.