copy
fun copy(name: String = this.name, schemaName: String? = this.schemaName, catalogue: String? = this.catalogue): TableMetadata
Creates a copy of the TableMetadata instance with optional modifications.
Return
a new TableMetadata instance with the specified or default values.
Parameters
name
the name of the table; defaults to the current name of the instance.
schemaName
the name of the schema the table belongs to; defaults to the current schema name of the instance.
catalogue
the name of the catalogue the table belongs to; defaults to the current catalogue of the instance.