Packages

class JDBCOptions extends Serializable with Logging

Options for the JDBC data source.

Linear Supertypes
Logging, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JDBCOptions
  2. Logging
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JDBCOptions(url: String, table: String, parameters: Map[String, String])
  2. new JDBCOptions(parameters: Map[String, String])
  3. new JDBCOptions(parameters: CaseInsensitiveMap[String])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val asConnectionProperties: Properties

    Returns a property with all options except Spark internal data source options like url, dbtable, and numPartition.

    Returns a property with all options except Spark internal data source options like url, dbtable, and numPartition. This should be used when invoking JDBC API like Driver.connect because each DBMS vendor has its own property list for JDBC driver. See SPARK-17776.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val asProperties: Properties

    Returns a property with all options.

  7. val batchSize: Int
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. val connectionProviderName: Option[String]
  10. val createTableColumnTypes: Option[String]
  11. val createTableOptions: String
  12. val customSchema: Option[String]
  13. val driverClass: String
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(other: Any): Boolean
    Definition Classes
    JDBCOptions → AnyRef → Any
  16. val fetchSize: Int
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    JDBCOptions → AnyRef → Any
  20. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  21. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. val isCascadeTruncate: Option[Boolean]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. val isTruncate: Boolean
  26. val isolationLevel: Int
  27. val keytab: String
  28. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. val lowerBound: Option[String]
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. val numPartitions: Option[Int]
  45. val parameters: CaseInsensitiveMap[String]
  46. val partitionColumn: Option[String]
  47. val preferTimestampNTZ: Boolean
  48. val prepareQuery: String
  49. val principal: String
  50. val pushDownAggregate: Boolean
  51. val pushDownLimit: Boolean
  52. val pushDownOffset: Boolean
  53. val pushDownPredicate: Boolean
  54. val pushDownTableSample: Boolean
  55. val queryTimeout: Int
  56. val refreshKrb5Config: Boolean
  57. val sessionInitStatement: Option[String]
  58. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  59. val tableComment: String
  60. val tableOrQuery: String
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. val upperBound: Option[String]
  63. val url: String
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped