public class DerbyDDLGenerator extends DBDDLGenerator<DBMSHandlerDerby>
DBDDLGenerator.DDLActionType
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_TIME, DATATYPE_TIMESTAMP, DATATYPE_UNIQUEID, DATATYPE_VARCHAR, dbms, ddlColumnDefaults, namePrimaryKeyConstraint
Constructor and Description |
---|
DerbyDDLGenerator(DBMSHandlerDerby dbms) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
appendColumnDataType(DataType type,
double size,
DBTableColumn c,
DBSQLBuilder sql)
appends the data type of a column
|
protected void |
appendColumnDesc(DBTableColumn c,
boolean alter,
DBSQLBuilder sql)
Appends a table column definition to a ddl statement
|
addAlterTableStmt, addCreateIndexStmt, addCreateRelationStmt, addCreateTableStmt, addCreateViewStmt, alterTable, appendElementName, createDatabase, createIndex, createRelation, createTable, createTableIndexes, createView, dropDatabase, dropObject, getDDLScript, isDDLColumnDefaults, setDDLColumnDefaults
public DerbyDDLGenerator(DBMSHandlerDerby dbms)
protected boolean appendColumnDataType(DataType type, double size, DBTableColumn c, DBSQLBuilder sql)
DBDDLGenerator
appendColumnDataType
in class DBDDLGenerator<DBMSHandlerDerby>
type
- the typesize
- the sizesql
- the builder that we will append toprotected void appendColumnDesc(DBTableColumn c, boolean alter, DBSQLBuilder sql)
DBDDLGenerator
appendColumnDesc
in class DBDDLGenerator<DBMSHandlerDerby>
c
- the column which description to appendalter
- true if altering an existing column or false otherwisesql
- the sql builder objectCopyright © 2008–2023 Apache Software Foundation. All rights reserved.