final case class TableSourceConfig(id: ID, description: Option[NonEmptyString], connection: ID, table: Option[NonEmptyString], query: Option[NonEmptyString], persist: Option[StorageLevel], options: Seq[SparkParam] = Seq.empty, keyFields: Seq[NonEmptyString] = Seq.empty, metadata: Seq[SparkParam] = Seq.empty) extends SourceConfig with Product with Serializable
JDBC Table source configuration
- id
Source ID
- description
Source description
- connection
Connection ID (must be JDBC connection)
- table
Table to read
- query
Query to execute
- persist
Spark storage level in order to persist dataframe during job execution.
- options
List of additional spark options required to read the source (if any)
- keyFields
Sequence of key fields (columns that identify data row)
- metadata
List of metadata parameters specific to this source
- Note
Either table to read or query to execute must be defined but not both.
- Alphabetic
- By Inheritance
- TableSourceConfig
- Product
- Equals
- SourceConfig
- JobConfigEntity
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TableSourceConfig(id: ID, description: Option[NonEmptyString], connection: ID, table: Option[NonEmptyString], query: Option[NonEmptyString], persist: Option[StorageLevel], options: Seq[SparkParam] = Seq.empty, keyFields: Seq[NonEmptyString] = Seq.empty, metadata: Seq[SparkParam] = Seq.empty)
- id
Source ID
- description
Source description
- connection
Connection ID (must be JDBC connection)
- table
Table to read
- query
Query to execute
- persist
Spark storage level in order to persist dataframe during job execution.
- options
List of additional spark options required to read the source (if any)
- keyFields
Sequence of key fields (columns that identify data row)
- metadata
List of metadata parameters specific to this source
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 connection: ID
-
val
description: Option[NonEmptyString]
- Definition Classes
- TableSourceConfig → JobConfigEntity
-
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
id: ID
- Definition Classes
- TableSourceConfig → JobConfigEntity
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
keyFields: Seq[NonEmptyString]
- Definition Classes
- TableSourceConfig → SourceConfig
-
val
metadata: Seq[SparkParam]
- Definition Classes
- TableSourceConfig → JobConfigEntity
-
val
metadataString: Option[String]
- Definition Classes
- JobConfigEntity
-
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: Seq[SparkParam]
-
val
persist: Option[StorageLevel]
- Definition Classes
- TableSourceConfig → SourceConfig
- val query: Option[NonEmptyString]
-
val
streamable: Boolean
- Definition Classes
- TableSourceConfig → SourceConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val table: Option[NonEmptyString]
-
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()