Packages

package jdbc

Type Members

  1. class JDBCOutputWriter extends DatasourceWriter

    A custom JDBCOutputWriter class that extends the DatasourceWriter.

    A custom JDBCOutputWriter class that extends the DatasourceWriter. This class is responsible for writing data from a DataFrame to a JDBC data source using the specified JDBC writer options.

  2. class JDBCQueryWriter extends DatasourceWriter

    A custom JDBCQueryWriter class that extends the DatasourceWriter.

    A custom JDBCQueryWriter class that extends the DatasourceWriter. This class is responsible for writing data from a DataFrame to a JDBC data source using a custom query.

  3. case class JDBCQueryWriterOptions(url: String, username: String, password: String, driver: String, query: String, maxBatchSize: Int, minPartitions: Option[Int], maxPartitions: Option[Int]) extends Product with Serializable

    A case class representing the JDBC query writer options required for writing data from a DataFrame to a JDBC data source using a custom query.

    A case class representing the JDBC query writer options required for writing data from a DataFrame to a JDBC data source using a custom query.

    url

    The JDBC connection URL.

    username

    The username for authenticating the JDBC connection.

    password

    The password for authenticating the JDBC connection.

    driver

    The JDBC driver class name.

    query

    The custom query to be executed for writing data to the JDBC data source.

    maxBatchSize

    The maximum batch size for executing the JDBC query in batches.

    minPartitions

    The minimum number of partitions to use for repartitioning the DataFrame (optional).

    maxPartitions

    The maximum number of partitions to use for coalescing the DataFrame (optional).

  4. case class JDBCWriterOptions(url: String, driver: String, username: String, password: String, table: String, saveMode: SaveMode, options: Map[String, String]) extends Product with Serializable

    A case class representing the JDBC writer options required for writing data from a DataFrame to a JDBC data source.

    A case class representing the JDBC writer options required for writing data from a DataFrame to a JDBC data source.

    url

    The JDBC connection URL.

    driver

    The JDBC driver class name.

    username

    The username for authenticating the JDBC connection.

    password

    The password for authenticating the JDBC connection.

    table

    The name of the table in the JDBC data source where the data will be written.

    saveMode

    The save mode to be used when writing data to the JDBC data source (e.g., Append, Overwrite, etc.).

    options

    Additional JDBC options as key-value pairs.

Ungrouped