Package

com.spotify.scio

jdbc

Permalink

package jdbc

Main package for JDBC APIs. Import all.

import com.spotify.scio.jdbc._
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jdbc
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait CloudSqlOptions extends PipelineOptions

    Permalink
  2. class CloudSqlOptionsRegistrar extends PipelineOptionsRegistrar

    Permalink
  3. case class JdbcConnectionOptions(username: String, password: Option[String], connectionUrl: String, driverClass: Class[_ <: Driver]) extends Product with Serializable

    Permalink

    Options for a JDBC connection.

    Options for a JDBC connection.

    username

    database login username

    password

    database login password if exists

    connectionUrl

    connection url, i.e "jdbc:mysql://[host]:[port]/db?"

    driverClass

    subclass of java.sql.Driver

  4. case class JdbcIO[T](uniqueId: String) extends TestIO[T] with Product with Serializable

    Permalink
  5. sealed trait JdbcIoOptions extends AnyRef

    Permalink
  6. case class JdbcReadOptions[T](connectionOptions: JdbcConnectionOptions, query: String, statementPreparator: (PreparedStatement) ⇒ Unit = null, rowMapper: (ResultSet) ⇒ T) extends JdbcIoOptions with Product with Serializable

    Permalink

    Options for reading from a JDBC source.

    Options for reading from a JDBC source.

    connectionOptions

    connection options

    query

    query string

    statementPreparator

    function to prepare a java.sql.PreparedStatement

    rowMapper

    function to map from a SQL java.sql.ResultSet to T

  7. implicit class JdbcSCollection[T] extends AnyRef

    Permalink

    Enhanced version of SCollection with JDBC methods.

  8. implicit class JdbcScioContext extends Serializable

    Permalink

    Enhanced version of ScioContext with JDBC methods.

  9. case class JdbcWriteOptions[T](connectionOptions: JdbcConnectionOptions, statement: String, preparedStatementSetter: (T, PreparedStatement) ⇒ Unit = null) extends JdbcIoOptions with Product with Serializable

    Permalink

    Options for writing to a JDBC source.

    Options for writing to a JDBC source.

    connectionOptions

    connection options

    statement

    query statement

    preparedStatementSetter

    function to set values in a java.sql.PreparedStatement

Value Members

  1. object JdbcIO extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped