Packages

object CassandraConnectorConf extends Logging with Serializable

A factory for CassandraConnectorConf objects. Allows for manually setting connection properties or reading them from SparkConf object. By embedding connection information in SparkConf, SparkContext can offer Cassandra specific methods which require establishing connections to a Cassandra cluster.

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

Type Members

  1. case class CassandraSSLConf(enabled: Boolean = false, trustStorePath: Option[String] = None, trustStorePassword: Option[String] = None, trustStoreType: String = "JKS", protocol: String = "TLS", enabledAlgorithms: Set[String] = ..., clientAuthEnabled: Boolean = false, keyStorePath: Option[String] = None, keyStorePassword: Option[String] = None, keyStoreType: String = "JKS") extends Product with Serializable

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 CloudBasedConfigurationParam: ConfigParameter[Option[String]]
  5. val CompressionParam: ConfigParameter[String]
  6. val ConnectionHostParam: ConfigParameter[String]
  7. val ConnectionPortParam: ConfigParameter[Int]
  8. val ConnectionTimeoutParam: ConfigParameter[Int]
  9. val DefaultCassandraSSLConf: CassandraSSLConf
  10. val DeprecatedConnectionTimeoutParam: DeprecatedConfigParameter[Int]
  11. val DeprecatedKeepAliveMillisParam: DeprecatedConfigParameter[Int]
  12. val DeprecatedLocalDCParam: DeprecatedConfigParameter[Option[String]]
  13. val DeprecatedMaxReconnectionDelayParam: DeprecatedConfigParameter[Int]
  14. val DeprecatedMinReconnectionDelayParam: DeprecatedConfigParameter[Int]
  15. val DeprecatedReadTimeoutParam: DeprecatedConfigParameter[Int]
  16. val KeepAliveMillisParam: ConfigParameter[Int]
  17. val LocalConnectionsPerExecutorParam: ConfigParameter[Option[Int]]
  18. val LocalDCParam: ConfigParameter[Option[String]]
  19. val MaxReconnectionDelayParam: ConfigParameter[Int]
  20. val MinReconnectionDelayParam: ConfigParameter[Int]
  21. val ProfileFileBasedConfigurationParam: ConfigParameter[Option[String]]
  22. val QueryRetryParam: ConfigParameter[Int]
  23. val QuietPeriodBeforeCloseParam: ConfigParameter[Int]
  24. val ReadTimeoutParam: ConfigParameter[Int]
  25. val ReferenceSection: String
  26. val ReferenceSectionAlternativeConnection: String
  27. val ReferenceSectionSSL: String
  28. val RemoteConnectionsPerExecutorParam: ConfigParameter[Option[Int]]
  29. val ResolveContactPoints: ConfigParameter[Boolean]
  30. val SSLClientAuthEnabledParam: ConfigParameter[Boolean]
  31. val SSLEnabledAlgorithmsParam: ConfigParameter[Set[String]]
  32. val SSLEnabledParam: ConfigParameter[Boolean]
  33. val SSLKeyStorePasswordParam: ConfigParameter[Option[String]]
  34. val SSLKeyStorePathParam: ConfigParameter[Option[String]]
  35. val SSLKeyStoreTypeParam: ConfigParameter[String]
  36. val SSLProtocolParam: ConfigParameter[String]
  37. val SSLTrustStorePasswordParam: ConfigParameter[Option[String]]
  38. val SSLTrustStorePathParam: ConfigParameter[Option[String]]
  39. val SSLTrustStoreTypeParam: ConfigParameter[String]
  40. val TimeoutBeforeCloseParam: ConfigParameter[Int]
  41. def apply(conf: SparkConf): CassandraConnectorConf
  42. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  43. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  44. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  46. def fromConnectionParams(params: Map[String, String]): CassandraConnectorConf
  47. def fromSparkConf(conf: SparkConf): CassandraConnectorConf
  48. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. def getContactInfoFromSparkConf(conf: SparkConf): ContactInfo

    Determine how we should be connecting to Cassandra for this configuration

  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  51. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  52. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  53. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  54. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  58. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  59. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  61. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  63. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  67. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  68. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  69. def toString(): String
    Definition Classes
    AnyRef → Any
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped