public class H2DDLGenerator extends DBDDLGenerator<DBMSHandlerH2>
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 |
---|
H2DDLGenerator(DBMSHandlerH2 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
|
addAlterTableStmt, addCreateIndexStmt, addCreateRelationStmt, addCreateTableStmt, addCreateViewStmt, alterTable, appendColumnDesc, appendElementName, createDatabase, createIndex, createRelation, createTable, createTableIndexes, createView, dropDatabase, dropObject, getDDLScript, isDDLColumnDefaults, setDDLColumnDefaults
public H2DDLGenerator(DBMSHandlerH2 dbms)
protected boolean appendColumnDataType(DataType type, double size, DBTableColumn c, DBSQLBuilder sql)
DBDDLGenerator
appendColumnDataType
in class DBDDLGenerator<DBMSHandlerH2>
type
- the typesize
- the sizesql
- the builder that we will append toCopyright © 2008–2023 Apache Software Foundation. All rights reserved.