Class/Object

com.datastax.spark.connector.rdd

ReadConf

Related Docs: object ReadConf | package rdd

Permalink

case class ReadConf(splitCount: Option[Int] = None, splitSizeInMB: Int = ReadConf.SplitSizeInMBParam.default, fetchSizeInRows: Int = ..., consistencyLevel: ConsistencyLevel = ..., taskMetricsEnabled: Boolean = ReadConf.TaskMetricParam.default, throughputJoinQueryPerSec: Long = ..., parallelismLevel: Int = ...) extends Product with Serializable

Read settings for RDD

splitCount

number of partitions to divide the data into; unset by default

splitSizeInMB

size of Cassandra data to be read in a single Spark task; determines the number of partitions, but ignored if splitCount is set

fetchSizeInRows

number of CQL rows to fetch in a single round-trip to Cassandra

consistencyLevel

consistency level for reads, default LOCAL_ONE; higher consistency level will disable data-locality

taskMetricsEnabled

whether or not enable task metrics updates (requires Spark 1.2+)

throughputJoinQueryPerSec

maximum read throughput allowed per single core in query/s while joining a RDD with C* table (joinWithCassandraTable operation)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReadConf
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReadConf(splitCount: Option[Int] = None, splitSizeInMB: Int = ReadConf.SplitSizeInMBParam.default, fetchSizeInRows: Int = ..., consistencyLevel: ConsistencyLevel = ..., taskMetricsEnabled: Boolean = ReadConf.TaskMetricParam.default, throughputJoinQueryPerSec: Long = ..., parallelismLevel: Int = ...)

    Permalink

    splitCount

    number of partitions to divide the data into; unset by default

    splitSizeInMB

    size of Cassandra data to be read in a single Spark task; determines the number of partitions, but ignored if splitCount is set

    fetchSizeInRows

    number of CQL rows to fetch in a single round-trip to Cassandra

    consistencyLevel

    consistency level for reads, default LOCAL_ONE; higher consistency level will disable data-locality

    taskMetricsEnabled

    whether or not enable task metrics updates (requires Spark 1.2+)

    throughputJoinQueryPerSec

    maximum read throughput allowed per single core in query/s while joining a RDD with C* table (joinWithCassandraTable operation)

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to any2stringadd[ReadConf] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReadConf, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to ArrowAssoc[ReadConf] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val consistencyLevel: ConsistencyLevel

    Permalink

    consistency level for reads, default LOCAL_ONE; higher consistency level will disable data-locality

  9. def ensuring(cond: (ReadConf) ⇒ Boolean, msg: ⇒ Any): ReadConf

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to Ensuring[ReadConf] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ReadConf) ⇒ Boolean): ReadConf

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to Ensuring[ReadConf] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): ReadConf

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to Ensuring[ReadConf] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ReadConf

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to Ensuring[ReadConf] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. val fetchSizeInRows: Int

    Permalink

    number of CQL rows to fetch in a single round-trip to Cassandra

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to StringFormat[ReadConf] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val parallelismLevel: Int

    Permalink
  23. val splitCount: Option[Int]

    Permalink

    number of partitions to divide the data into; unset by default

  24. val splitSizeInMB: Int

    Permalink

    size of Cassandra data to be read in a single Spark task; determines the number of partitions, but ignored if splitCount is set

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

    Permalink
    Definition Classes
    AnyRef
  26. val taskMetricsEnabled: Boolean

    Permalink

    whether or not enable task metrics updates (requires Spark 1.2+)

  27. val throughputJoinQueryPerSec: Long

    Permalink

    maximum read throughput allowed per single core in query/s while joining a RDD with C* table (joinWithCassandraTable operation)

  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (ReadConf, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ReadConf to ArrowAssoc[ReadConf] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ReadConf to any2stringadd[ReadConf]

Inherited by implicit conversion StringFormat from ReadConf to StringFormat[ReadConf]

Inherited by implicit conversion Ensuring from ReadConf to Ensuring[ReadConf]

Inherited by implicit conversion ArrowAssoc from ReadConf to ArrowAssoc[ReadConf]

Ungrouped