Packages

package redis

Type Members

  1. class RedisOutputWriter extends DatasourceWriter

    A custom RedisOutputWriter class that extends the DatasourceWriter.

    A custom RedisOutputWriter class that extends the DatasourceWriter. This class is responsible for writing data from a DataFrame to a Redis table based on the specified options.

  2. case class RedisWriterOptions(host: String, port: Int, table: String, db: Int, password: Option[String], saveMode: SaveMode = SaveMode.Append, options: Map[String, String] = Map.empty) extends Product with Serializable

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

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

    host

    The Redis server host.

    port

    The Redis server port.

    table

    The name of the Redis table where data will be written.

    db

    The Redis database number.

    password

    Optional password for Redis authentication (default: None).

    saveMode

    The SaveMode to be used when writing data (default: SaveMode.Append).

    options

    Additional options to be passed to the Redis writer (default: Map.empty).

Ungrouped