Record Class ColumnMetaData

java.lang.Object
java.lang.Record
org.itsallcode.jdbc.metadata.ColumnMetaData
Record Components:
tableCatalog - table catalog (may be null)
tableSchema - table schema (may be null)
tableName - table name
columnName - column name
dataType - SQL type
typeName - Data source dependent type name, for a UDT the type name is fully qualified
columnSize - column size.
decimalDigits - the number of fractional digits. null is returned for data types where DECIMAL_DIGITS is not applicable.
numPrecisionRadix - Radix (typically either 10 or 2)
nullable - is NULL allowed.
remarks - comment describing column (may be null)
columnDef - default value for the column, which should be interpreted as a string when the value is enclosed in single quotes (may be null)
charOctetLength - for char types the maximum number of bytes in the column
ordinalPosition - index of column in table (starting at 1)
isNullable - ISO rules are used to determine the nullability for a column.
scopeCatalog - catalog of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
scopeSchema - schema of table that is the scope of a reference attribute (null if the DATA_TYPE isn't REF)
scopeTable - table name that this the scope of a reference attribute (null if the DATA_TYPE isn't REF)
sourceDataType - source type of a distinct type or user-generated Ref type, SQL type from java.sql.Types (null if DATA_TYPE isn't DISTINCT or user-generated REF)
isAutoIncrement - Indicates whether this column is auto incremented
isGeneratedColumn - Indicates whether this is a generated column

public record ColumnMetaData(String tableCatalog, String tableSchema, String tableName, String columnName, JDBCType dataType, String typeName, int columnSize, int decimalDigits, int numPrecisionRadix, ColumnMetaData.Nullability nullable, String remarks, String columnDef, int charOctetLength, int ordinalPosition, ColumnMetaData.ISONullability isNullable, String scopeCatalog, String scopeSchema, String scopeTable, short sourceDataType, ColumnMetaData.AutoIncrement isAutoIncrement, ColumnMetaData.Generated isGeneratedColumn) extends Record
Description of a column.
See Also: