case class JDBCDatasourceOutput(url: String, username: String, password: String, table: String, saveMode: SaveMode = SaveMode.Append, jdbcOptions: JDBCOutputOptions, sparkOptions: Map[String, String] = Map.empty) extends DatasourceOutput with Product with Serializable
Represents the output configuration for a JDBC datasource.
- url
The JDBC connection URL.
- username
The username for authentication.
- password
The password for authentication.
- table
The table to write into.
- jdbcOptions
(Optional) Additional options for the JDBC connection.
- sparkOptions
(Optional) JDBC Spark Datasource related options
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JDBCDatasourceOutput
- Serializable
- Serializable
- Product
- Equals
- DatasourceOutput
- OutputConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
JDBCDatasourceOutput(url: String, username: String, password: String, table: String, saveMode: SaveMode = SaveMode.Append, jdbcOptions: JDBCOutputOptions, sparkOptions: Map[String, String] = Map.empty)
- url
The JDBC connection URL.
- username
The username for authentication.
- password
The password for authentication.
- table
The table to write into.
- jdbcOptions
(Optional) Additional options for the JDBC connection.
- sparkOptions
(Optional) JDBC Spark Datasource related options
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()
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jdbcOptions: JDBCOutputOptions
-
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 password: String
- val saveMode: SaveMode
- val sparkOptions: Map[String, String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val table: String
- val url: String
- val username: 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()