primaryKey
private final boolean primaryKey
The field for the
primaryKey record component.columnName - The name of the column.columnType - The data type of the column (e.g., "INTEGER", "VARCHAR").primaryKey - true if the column is a primary key, false otherwise.nullable - true if the column can have NULL values, false otherwise.unique - true if the column has a unique constraint, false otherwise.MetadataThis record encapsulates essential details about a column, including its name, data type, constraints (e.g., primary key, nullable, unique).
private final StringcolumnName record component.private final StringcolumnType record component.private final booleannullable record component.private final booleanprimaryKey record component.private final booleanunique record component.ColumnMetadata(String columnName,
String columnType,
boolean primaryKey,
boolean nullable,
boolean unique) ColumnMetadata record class.columnName record component.columnType record component.final booleanfinal inthashCode()booleannullable()nullable record component.booleanprimaryKey record component.final StringtoString()booleanunique()unique record component.columnName record component.columnType record component.primaryKey record component.nullable record component.unique record component.ColumnMetadata record class.columnName - the value for the columnName record componentcolumnType - the value for the columnType record componentprimaryKey - the value for the primaryKey record componentnullable - the value for the nullable record componentunique - the value for the unique record componentObjects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.columnName record component.columnName record componentcolumnType record component.columnType record componentprimaryKey record component.primaryKey record component