Package

org.apache.spark.sql.execution.datasources

jdbc

Permalink

package jdbc

Visibility
  1. Public
  2. All

Type Members

  1. class DriverWrapper extends Driver

    Permalink

    A wrapper for a JDBC Driver to work around SPARK-6913.

    A wrapper for a JDBC Driver to work around SPARK-6913.

    The problem is in java.sql.DriverManager class that can't access drivers loaded by Spark ClassLoader.

  2. class JDBCOptions extends Serializable

    Permalink

    Options for the JDBC data source.

  3. case class JDBCPartition(whereClause: String, idx: Int) extends Partition with Product with Serializable

    Permalink

    Data corresponding to one partition of a JDBCRDD.

  4. class JdbcRelationProvider extends CreatableRelationProvider with RelationProvider with DataSourceRegister

    Permalink

Value Members

  1. object DriverRegistry extends Logging

    Permalink

    java.sql.DriverManager is always loaded by bootstrap classloader, so it can't load JDBC drivers accessible by Spark ClassLoader.

    java.sql.DriverManager is always loaded by bootstrap classloader, so it can't load JDBC drivers accessible by Spark ClassLoader.

    To solve the problem, drivers from user-supplied jars are wrapped into thin wrapper.

  2. object JDBCOptions extends Serializable

    Permalink
  3. object JDBCRDD extends Logging with Serializable

    Permalink
  4. object JdbcUtils extends Logging

    Permalink

    Util functions for JDBC tables.

Ungrouped