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 ColumnDefinitionstatic class static class ColumnDefinition.static interface ColumnDefinitionstatic interface Data Type part of building a ColumnDefinitionstatic interface ColumnDefinitionstatic interface ColumnDefinitionstatic interface ColumnDefinitionstatic class static interface ColumnDefinitionstatic interface ColumnDefinitionstatic interface ColumnDefinitionstatic interface ColumnDefinitionprivate final booleanprivate final Stringprivate final SQLDataTypedata type of the columnprivate final Integerprivate final Integerprivate final booleanprivate final booleanprivate final Longprivate final booleanprivate 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.ColumnNamebuilder()getSize()booleanbooleanbooleanbooleantoString()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 ColumnDefinitiondata type of the column