public class ColumnDefinition extends Object
Constructor and Description |
---|
ColumnDefinition(String sqlType,
boolean notNull,
boolean primaryKey,
boolean unique,
String defaultValue) |
public ColumnDefinition(String sqlType, boolean notNull, boolean primaryKey, boolean unique, String defaultValue)
sqlType
- String representing the SQL type of the column, e.g.: TEXT, INTEGER, and so onnotNull
- Indicates that this column may not contain null valuesprimaryKey
- Indicates that this column is the table's primary key (implicitly unique)unique
- Indicates that values for this column are unique. If primaryKey is true, this value is ignoreddefaultValue
- String representation for the default value of this columnCopyright © 2022 Open Geospatial Consortium. All rights reserved.