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.
- 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).
- Alphabetic
- By Inheritance
- RedisWriterOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RedisWriterOptions(host: String, port: Int, table: String, db: Int, password: Option[String], saveMode: SaveMode = SaveMode.Append, options: Map[String, String] = Map.empty)
- 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).
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val db: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val host: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val options: Map[String, String]
- val password: Option[String]
- val port: Int
- val saveMode: SaveMode
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val table: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()