CreateTableWriter¶
CreateTableWriter
is an extension of the WriteConfigMethods abstraction for table writers.
Contract¶
create¶
create(): Unit
Creates a new table from the contents of the dataframe
createOrReplace¶
createOrReplace(): Unit
Creates a new table or replaces an existing table with the contents of the dataframe
partitionedBy¶
partitionedBy(
column: Column,
columns: Column*): CreateTableWriter[T]
Defines partition(s) of the output table
replace¶
replace(): Unit
Replaces an existing table with the contents of the dataframe
tableProperty¶
tableProperty(
property: String,
value: String): CreateTableWriter[T]
Adds a table property
using¶
using(
provider: String): CreateTableWriter[T]
Specifies the provider for the underlying output data source