package
jdbc
Type Members
-
case class
BucketPartitionStrategy(columnName: String, values: Set[String]) extends JdbcPartitionStrategy with Product with Serializable
-
case class
HashPartitionStrategy(hashExpression: String, numberOfPartitions: Int) extends JdbcPartitionStrategy with Product with Serializable
-
class
JdbcInserter extends Logging with Using
-
-
-
-
case class
JdbcReaderConfig(defaultPrecision: Precision, defaultScale: Scale) extends Product with Serializable
-
case class
JdbcSink(connFn: () ⇒ Connection, table: String, createTable: Boolean = false, dropTable: Boolean = false, batchSize: Int = 1000, batchesPerCommit: Int = 0, dialect: Option[JdbcDialect] = None, threads: Int = 4) extends Sink with Logging with Product with Serializable
-
-
case class
JdbcSource(connFn: () ⇒ Connection, query: String, bindFn: (PreparedStatement) ⇒ Unit = stmt => (), fetchSize: Int = 200, providedSchema: Option[StructType] = None, providedDialect: Option[JdbcDialect] = None, partitionStrategy: JdbcPartitionStrategy = SinglePartitionStrategy) extends Source with JdbcPrimitives with Logging with Using with Timed with Product with Serializable
-
case class
RangePartitionStrategy(columnName: String, numberOfPartitions: Int, min: Long, max: Long) extends JdbcPartitionStrategy with Product with Serializable