primaryKey
private final boolean primaryKey
Whether this column is the primary key or not
static interface
ColumnDefinition
, allowing using a default lengthstatic interface
ColumnDefinition
, allowing using a default length and using a longstatic interface
ColumnDefinition
, allowing using a default sizestatic interface
ColumnDefinition
static class
static class
ColumnDefinition
.static interface
ColumnDefinition
static interface
Data Type
part of building a ColumnDefinition
static interface
ColumnDefinition
static interface
ColumnDefinition
static interface
ColumnDefinition
static class
static interface
ColumnDefinition
static interface
ColumnDefinition
static interface
ColumnDefinition
static interface
ColumnDefinition
private final boolean
private final String
private final SQLDataType
data type
of the columnprivate final Integer
private final Integer
private final boolean
private final boolean
private final Long
private final boolean
private
ColumnDefinition(String columnName,
SQLDataType dataType,
Long size,
List<String> values,
Integer digits,
Integer fractionalSecondsPrecision,
boolean notNull,
boolean unsigned,
boolean autoIncrement,
boolean primaryKey)
ColumnDefinition
with the given parametersstatic ColumnDefinition.ColumnName
builder()
getSize()
boolean
boolean
boolean
boolean
toString()
data type
of the columnColumnDefinition
with the given parameterscolumnName
- The name to use for the columndataType
- The data type
of the columnsize
- The length of the column or total number of digitsvalues
- The possible values for the columndigits
- The number of digits after the decimalfractionalSecondsPrecision
- The precision for fractional secondsnotNull
- Whether this column allows null (false) or not (true)unsigned
- Whether this column is unsigned (true) or signed (false)autoIncrement
- Whether to auto-increment this column or notprimaryKey
- Whether this column is the primary key or notbuilder
to build a new ColumnDefinition
data type
of the column