TableColumnMetadata
Constructors
Properties
true for a multi-bit BIT(M) column, M > 1, in MySQL and MariaDB.
true if column could contain nulls.
the class name in Java.
the JDBC data type of the column produced from java.sql.Types.
the name of the DataFrame column: the SQL AS alias, or the column name when there is no alias, made unique within the result (see DbType.getTableColumnsMetadata).
the declared width of the column, as reported by java.sql.ResultSetMetaData.getColumnDisplaySize, or 0 when the driver does not report one. A few type mappings depend on it — it is what tells a BIT(1) column apart from a BIT(M) one in MySQL, MariaDB and PostgreSQL, where the driver reports identical metadata for both but returns values of different classes. A custom DbType branching on it should treat 0 as "unknown" rather than as a width.
the SQL data type of the column.
Functions
Creates a copy of the current TableColumnMetadata instance with optionally modified attributes.