primaryKey
Returns the value of the
primaryKey record component.- Returns:
- the value of the
primaryKeyrecord component
type is DatabaseTypes.ColumnType name or a driver-specific string.ColumnDefinition(String name,
String type,
Integer length,
Integer precision,
Integer scale,
Boolean nullable,
Boolean primaryKey,
Boolean autoIncrement,
Boolean unique,
Object defaultValue,
SchemaTypes.ForeignKeyReference references,
List<String> enumValues,
String arrayType,
String comment,
String check) ColumnDefinition record class.arrayType record component.autoIncrement record component.check()check record component.comment()comment record component.defaultValue record component.enumValues record component.final booleanfinal inthashCode()length()length record component.name()name record component.nullable()nullable record component.precision record component.primaryKey record component.references record component.scale()scale record component.final StringtoString()type()type record component.unique()unique record component.ColumnDefinition record class.name - the value for the name record componenttype - the value for the type record componentlength - the value for the length record componentprecision - the value for the precision record componentscale - the value for the scale record componentnullable - the value for the nullable record componentprimaryKey - the value for the primaryKey record componentautoIncrement - the value for the autoIncrement record componentunique - the value for the unique record componentdefaultValue - the value for the defaultValue record componentreferences - the value for the references record componentenumValues - the value for the enumValues record componentarrayType - the value for the arrayType record componentcomment - the value for the comment record componentcheck - the value for the check record componentObjects::equals(Object,Object).name record component.name record componenttype record component.type record componentlength record component.length record componentprecision record component.precision record componentscale record component.scale record componentnullable record component.nullable record componentprimaryKey record component.primaryKey record componentautoIncrement record component.autoIncrement record componentunique record component.unique record componentdefaultValue record component.defaultValue record componentreferences record component.references record componentenumValues record component.enumValues record componentarrayType record component.arrayType record componentcomment record component.comment record componentcheck record component.check record component