package redshift
Type Members
-
class
RedshiftOutputWriter extends DatasourceWriter
A custom RedshiftOutputWriter class that extends the DatasourceWriter.
A custom RedshiftOutputWriter class that extends the DatasourceWriter. This class is responsible for writing data from a DataFrame to a Redshift database table based on the specified options.
-
case class
RedshiftWriterOptions(jdbcUrl: String, tempDir: String, username: String, password: String, dbTable: String, saveMode: SaveMode, options: Map[String, String] = Map.empty) extends Product with Serializable
A case class representing the Redshift writer options required for writing data from a DataFrame to a Redshift database.
A case class representing the Redshift writer options required for writing data from a DataFrame to a Redshift database.
- jdbcUrl
The JDBC URL of the Redshift database.
- tempDir
The temporary directory used for data staging during the write operation.
- username
The username for the Redshift database connection.
- password
The password for the Redshift database connection.
- dbTable
The name of the Redshift database table where data will be written.
- saveMode
The SaveMode to be used when writing data (default: SaveMode.Append).
- options
Additional options to be passed to the Redshift writer (default: Map.empty).