Class

org.apache.spark.jdbc

ConnectionConfBuilder

Related Doc: package jdbc

Permalink

class ConnectionConfBuilder extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionConfBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConnectionConfBuilder(session: SnappySession)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DRIVER: String

    Permalink
  5. val URL: String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def build(): ConnectionConf

    Permalink

    Prepares the ConnectionConf to be usable to obtain a connection.

    Prepares the ConnectionConf to be usable to obtain a connection. See ConnectionUtil for various APIs to get a connection from a ConnectionConf

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val poolProvider: String

    Permalink
  19. def setConf(prop: String, value: String): ConnectionConfBuilder

    Permalink

    Sets any additional information in connection setting

    Sets any additional information in connection setting

    prop

    property name

    value

    property value

  20. def setDriver(driver: String): ConnectionConfBuilder

    Permalink

    Set the driver for the connection.

    Set the driver for the connection. For SnappyData no need to set this. SnappyData will automatically set the driver based on the cluster

    driver

    driver for the connection

  21. def setPoolConf(prop: String, value: String): ConnectionConfBuilder

    Permalink

    Sets a property for a pool.

    Sets a property for a pool. For detailed list for Hikari refer https://github.com/brettwooldridge/HikariCP/wiki/Configuration For detailed list for Tomcat refer https://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html

    Even if you don't mention any properties it defaults it to some sensible values

    prop

    property name

    value

    property value

  22. def setPoolConfs(props: Map[String, String]): ConnectionConfBuilder

    Permalink

    Sets properties for a pool.

    Sets properties for a pool. For detailed list for Hikari refer https://github.com/brettwooldridge/HikariCP/wiki/Configuration For detailed list for Tomcat refer https://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html

    Even if you don't mention any properties it defaults it to some sensible values

    props

    map of key-value

  23. def setPoolProvider(provider: String): ConnectionConfBuilder

    Permalink

    Snappy supports two ConnectionPool implementation "Tomcat" and "Hikari".

    Snappy supports two ConnectionPool implementation "Tomcat" and "Hikari". Set either of the two . Default is Tomcat.

    provider

    provider name

  24. def setURL(url: String): ConnectionConfBuilder

    Permalink

    Set the URL for connection.

    Set the URL for connection. For SnappyData you can skip setting this. SnappyData will automatically set the URL based on the cluster

    url

    URL for JDBC connection

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped