copy
fun copy(name: String = this.name, sqlTypeName: String = this.sqlTypeName, jdbcType: Int = this.jdbcType, size: Int = this.size, javaClassName: String = this.javaClassName, isNullable: Boolean = this.isNullable): TableColumnMetadata
Creates a copy of the current TableColumnMetadata instance with optionally modified attributes.
Return
A new TableColumnMetadata instance with the specified attribute values.
Parameters
name
The name of the DataFrame column. Defaults to the current instance's name.
sqlTypeName
The SQL type name of the column. Defaults to the current instance's sqlTypeName.
jdbcType
The JDBC type of the column, represented as an integer. Defaults to the current instance's jdbcType.
size
The size of the column. Defaults to the current instance's size.
javaClassName
The fully qualified name of the Java class representing the column type. Defaults to the current instance's javaClassName.
isNullable
Indicates whether the column is nullable. Defaults to the current instance's isNullable.