package snowflake
Type Members
-
class
SnowflakeOutputWriter extends DatasourceWriter
A custom SnowflakeOutputWriter class that extends the DatasourceWriter.
A custom SnowflakeOutputWriter class that extends the DatasourceWriter. This class is responsible for writing data from a DataFrame to a Snowflake database table based on the specified options.
-
case class
SnowflakeWriterOptions(url: String, database: String, dbTable: String, schema: String, warehouse: Option[String], user: String, password: Option[String], token: Option[String], pemPrivateKey: Option[String], saveMode: SaveMode, options: Map[String, String]) extends Product with Serializable
A case class representing the Snowflake writer options required for writing data from a DataFrame to a Snowflake database.
A case class representing the Snowflake writer options required for writing data from a DataFrame to a Snowflake database.
- url
The Snowflake URL for connecting to the database.
- database
The name of the Snowflake database where data will be written.
- dbTable
The name of the Snowflake database table where data will be written.
- schema
The schema name for the Snowflake table.
- warehouse
The name of the Snowflake warehouse to use (optional).
- user
The username for the Snowflake database connection.
- password
The password for the Snowflake database connection (optional).
- token
The Snowflake OAuth token for authentication (optional).
- pemPrivateKey
The path to the PEM private key file for OAuth authentication (optional).
- saveMode
The SaveMode to be used when writing data (e.g., Append, Overwrite, etc.).
- options
Additional options to be passed to the Snowflake writer (default: Map.empty).