Package

com.twitter.scalding

jdbc

Permalink

package jdbc

Visibility
  1. Public
  2. All

Type Members

  1. trait ColumnDefiner extends AnyRef

    Permalink
  2. case class ColumnDefinition(name: ColumnName, definition: Definition) extends Product with Serializable

    Permalink
  3. case class ColumnName(get: String) extends Product with Serializable

    Permalink
  4. case class ConnectUrl(get: String) extends Product with Serializable

    Permalink
  5. case class ConnectionSpec(connectUrl: ConnectUrl, userName: UserName, password: Password) extends Product with Serializable

    Permalink

    Pass your DB credentials to this class in a preferred secure way

  6. case class Definition(get: String) extends Product with Serializable

    Permalink
  7. case class DriverClass(get: String) extends Product with Serializable

    Permalink
  8. trait DriverColumnDefiner[Type <: JdbcType] extends AnyRef

    Permalink

    This is a mechanism by which different databases can control and configure the way in which statements are created.

  9. trait HsqlDbDriver extends JdbcDriver

    Permalink
  10. sealed abstract class IsNullable extends AnyRef

    Permalink
  11. abstract class JDBCSource extends Source with ColumnDefiner with JdbcDriver

    Permalink

    Extend this source to let scalding read from or write to a database.

    Extend this source to let scalding read from or write to a database. In order for this to work you need to specify the table name, column definitions and DB credentials. If you write to a DB, the fields in the final pipe have to correspond to the column names in the DB table. Example usage: case object YourTableSource extends JDBCSource { override val tableName = TableName("tableName") override val columns = List( varchar("col1", 64), date("col2"), tinyint("col3"), double("col4") ) override def currentConfig = ConnectionSpec( ConnectUrl("jdbc:mysql://mysql01.company.com:3306/production"), UserName("username"), Password("password"), MysqlDriver ) }

  12. trait JdbcDriver extends AnyRef

    Permalink
  13. sealed trait JdbcType extends AnyRef

    Permalink
  14. trait MysqlDriver extends JdbcDriver with MysqlTableCreationImplicits

    Permalink
  15. trait MysqlTableCreationImplicits extends AnyRef

    Permalink
  16. case class Password(get: String) extends Product with Serializable

    Permalink
  17. case class TableName(get: String) extends Product with Serializable

    Permalink
  18. case class UserName(get: String) extends Product with Serializable

    Permalink
  19. trait VerticaDriver extends JdbcDriver with VerticaTableCreationImplicits

    Permalink

    Old Vertica 4.1 jdbc driver see https://my.vertica.com/docs/5.1.6/HTML/index.htm#16699.htm

  20. trait VerticaJdbcDriver extends JdbcDriver with VerticaTableCreationImplicits

    Permalink

    Vertica jdbc driver (5.1 and higher)

  21. trait VerticaTableCreationImplicits extends AnyRef

    Permalink

Value Members

  1. object BIGINT extends JdbcType with Product with Serializable

    Permalink
  2. object BOOLEAN extends JdbcType with Product with Serializable

    Permalink
  3. object DATE extends JdbcType with Product with Serializable

    Permalink
  4. object DATETIME extends JdbcType with Product with Serializable

    Permalink
  5. object DOUBLE extends JdbcType with Product with Serializable

    Permalink
  6. object INT extends JdbcType with Product with Serializable

    Permalink
  7. object IsNullable

    Permalink
  8. object NotNullable extends IsNullable with Product with Serializable

    Permalink
  9. object Nullable extends IsNullable with Product with Serializable

    Permalink
  10. object SMALLINT extends JdbcType with Product with Serializable

    Permalink
  11. object TEXT extends JdbcType with Product with Serializable

    Permalink
  12. object TINYINT extends JdbcType with Product with Serializable

    Permalink
  13. object VARCHAR extends JdbcType with Product with Serializable

    Permalink

Ungrouped