Packages

c

com.datastax.spark.connector.rdd

CassandraLeftJoinRDD

class CassandraLeftJoinRDD[L, R] extends CassandraRDD[(L, Option[R])] with CassandraTableRowReaderProvider[R] with AbstractCassandraJoin[L, Option[R]]

An RDD that will do a selecting join between left RDD and the specified Cassandra Table This will perform individual selects to retrieve the rows from Cassandra and will take advantage of RDDs that have been partitioned with the com.datastax.spark.connector.rdd.partitioner.ReplicaPartitioner

L

item type on the left side of the join (any RDD)

R

item type on the right side of the join (fetched from Cassandra)

Linear Supertypes
AbstractCassandraJoin[L, Option[R]], CassandraTableRowReaderProvider[R], CassandraRDD[(L, Option[R])], RDD[(L, Option[R])], Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CassandraLeftJoinRDD
  2. AbstractCassandraJoin
  3. CassandraTableRowReaderProvider
  4. CassandraRDD
  5. RDD
  6. Logging
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CassandraLeftJoinRDD(left: RDD[L], keyspaceName: String, tableName: String, connector: CassandraConnector, columnNames: ColumnSelector = AllColumns, joinColumns: ColumnSelector = PartitionKeyColumns, where: CqlWhereClause = CqlWhereClause.empty, limit: Option[CassandraLimit] = None, clusteringOrder: Option[ClusteringOrder] = None, readConf: ReadConf = ReadConf(), manualRowReader: Option[RowReader[R]] = None, manualRowWriter: Option[RowWriter[L]] = None)(implicit leftClassTag: ClassTag[L], rightClassTag: ClassTag[R], rowWriterFactory: RowWriterFactory[L], rowReaderFactory: RowReaderFactory[R])

Type Members

  1. type Self = CassandraLeftJoinRDD[L, R]

    This is slightly different than Scala this.type.

    This is slightly different than Scala this.type. this.type is the unique singleton type of an object which is not compatible with other instances of the same type, so returning anything other than this is not really possible without lying to the compiler by explicit casts. Here SelfType is used to return a copy of the object - a different instance of the same type

    Definition Classes
    CassandraLeftJoinRDDCassandraRDD

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def aggregate[U](zeroValue: U)(seqOp: (U, (L, Option[R])) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): U
    Definition Classes
    RDD
  6. def as[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5], arg7: TypeConverter[A6], arg8: TypeConverter[A7], arg9: TypeConverter[A8], arg10: TypeConverter[A9], arg11: TypeConverter[A10], arg12: TypeConverter[A11]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  7. def as[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5], arg7: TypeConverter[A6], arg8: TypeConverter[A7], arg9: TypeConverter[A8], arg10: TypeConverter[A9], arg11: TypeConverter[A10]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  8. def as[B, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5], arg7: TypeConverter[A6], arg8: TypeConverter[A7], arg9: TypeConverter[A8], arg10: TypeConverter[A9]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  9. def as[B, A0, A1, A2, A3, A4, A5, A6, A7, A8](f: (A0, A1, A2, A3, A4, A5, A6, A7, A8) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5], arg7: TypeConverter[A6], arg8: TypeConverter[A7], arg9: TypeConverter[A8]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  10. def as[B, A0, A1, A2, A3, A4, A5, A6, A7](f: (A0, A1, A2, A3, A4, A5, A6, A7) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5], arg7: TypeConverter[A6], arg8: TypeConverter[A7]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  11. def as[B, A0, A1, A2, A3, A4, A5, A6](f: (A0, A1, A2, A3, A4, A5, A6) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5], arg7: TypeConverter[A6]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  12. def as[B, A0, A1, A2, A3, A4, A5](f: (A0, A1, A2, A3, A4, A5) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4], arg6: TypeConverter[A5]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  13. def as[B, A0, A1, A2, A3, A4](f: (A0, A1, A2, A3, A4) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3], arg5: TypeConverter[A4]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  14. def as[B, A0, A1, A2, A3](f: (A0, A1, A2, A3) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2], arg4: TypeConverter[A3]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  15. def as[B, A0, A1, A2](f: (A0, A1, A2) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1], arg3: TypeConverter[A2]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  16. def as[B, A0, A1](f: (A0, A1) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1]): CassandraRDD[B]
    Definition Classes
    CassandraRDD
  17. def as[B, A0](f: (A0) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0]): CassandraRDD[B]

    Maps each row into object of a different type using provided function taking column value(s) as argument(s).

    Maps each row into object of a different type using provided function taking column value(s) as argument(s). Can be used to convert each row to a tuple or a case class object:

    sc.cassandraTable("ks", "table")
      .select("column1")
      .as((s: String) => s)                 // yields CassandraRDD[String]
    
    sc.cassandraTable("ks", "table")
      .select("column1", "column2")
      .as((_: String, _: Long))             // yields CassandraRDD[(String, Long)]
    
    case class MyRow(key: String, value: Long)
    sc.cassandraTable("ks", "table")
      .select("column1", "column2")
      .as(MyRow)                            // yields CassandraRDD[MyRow]
    Definition Classes
    CassandraRDD
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def barrier(): RDDBarrier[(L, Option[R])]
    Definition Classes
    RDD
    Annotations
    @Experimental() @Since( "2.4.0" )
  20. def cache(): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
  21. def cartesian[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[((L, Option[R]), U)]
    Definition Classes
    RDD
  22. def cassandraCount(): Long

    Counts the number of items in this RDD by selecting count(*) on Cassandra table

    Counts the number of items in this RDD by selecting count(*) on Cassandra table

    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  23. lazy val cassandraPartitionerClassName: String
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  24. def checkValidJoin(): Seq[ColumnRef]

    This method will create the RowWriter required before the RDD is serialized.

    This method will create the RowWriter required before the RDD is serialized. This is called during getPartitions

    Attributes
    protected
    Definition Classes
    AbstractCassandraJoin
  25. def checkpoint(): Unit
    Definition Classes
    RDD
  26. val classTag: ClassTag[R]
    Attributes
    protected
    Definition Classes
    CassandraLeftJoinRDDCassandraTableRowReaderProvider
  27. def cleanShuffleDependencies(blocking: Boolean): Unit
    Definition Classes
    RDD
    Annotations
    @Experimental() @DeveloperApi() @Since( "3.1.0" )
  28. def clearDependencies(): Unit
    Attributes
    protected
    Definition Classes
    RDD
  29. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  30. def clusteringOrder(order: ClusteringOrder): Self

    Adds a CQL ORDER BY clause to the query.

    Adds a CQL ORDER BY clause to the query. It can be applied only in case there are clustering columns and primary key predicate is pushed down in where. It is useful when the default direction of ordering rows within a single Cassandra partition needs to be changed.

    Definition Classes
    CassandraRDD
  31. val clusteringOrder: Option[ClusteringOrder]
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  32. def coalesce(numPartitions: Int, shuffle: Boolean, partitionCoalescer: Option[PartitionCoalescer])(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  33. def collect[U](f: PartialFunction[(L, Option[R]), U])(implicit arg0: ClassTag[U]): RDD[U]
    Definition Classes
    RDD
  34. def collect(): Array[(L, Option[R])]
    Definition Classes
    RDD
  35. val columnNames: ColumnSelector
  36. def compute(split: Partition, context: TaskContext): Iterator[(L, Option[R])]

    When computing a CassandraPartitionKeyRDD the data is selected via single CQL statements from the specified C* Keyspace and Table.

    When computing a CassandraPartitionKeyRDD the data is selected via single CQL statements from the specified C* Keyspace and Table. This will be preformed on whatever data is available in the previous RDD in the chain.

    Definition Classes
    AbstractCassandraJoin
  37. val connector: CassandraConnector
  38. def consistencyLevel: ConsistencyLevel
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  39. def context: SparkContext
    Definition Classes
    RDD
  40. def convertTo[B](implicit arg0: ClassTag[B], arg1: RowReaderFactory[B]): CassandraRDD[B]
    Attributes
    protected
    Definition Classes
    CassandraRDD
  41. def copy(columnNames: ColumnSelector = columnNames, where: CqlWhereClause = where, limit: Option[CassandraLimit] = limit, clusteringOrder: Option[ClusteringOrder] = None, readConf: ReadConf = readConf, connector: CassandraConnector = connector): Self

    Allows to copy this RDD with changing some of the properties

    Allows to copy this RDD with changing some of the properties

    Attributes
    protected
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  42. def count(): Long
    Definition Classes
    RDD
  43. def countApprox(timeout: Long, confidence: Double): PartialResult[BoundedDouble]
    Definition Classes
    RDD
  44. def countApproxDistinct(relativeSD: Double): Long
    Definition Classes
    RDD
  45. def countApproxDistinct(p: Int, sp: Int): Long
    Definition Classes
    RDD
  46. def countByValue()(implicit ord: Ordering[(L, Option[R])]): Map[(L, Option[R]), Long]
    Definition Classes
    RDD
  47. def countByValueApprox(timeout: Long, confidence: Double)(implicit ord: Ordering[(L, Option[R])]): PartialResult[Map[(L, Option[R]), BoundedDouble]]
    Definition Classes
    RDD
  48. final def dependencies: Seq[Dependency[_]]
    Definition Classes
    RDD
  49. def distinct(): RDD[(L, Option[R])]
    Definition Classes
    RDD
  50. def distinct(numPartitions: Int)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  51. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  53. def fetchSize: Int
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  54. def filter(f: ((L, Option[R])) ⇒ Boolean): RDD[(L, Option[R])]
    Definition Classes
    RDD
  55. def first(): (L, Option[R])
    Definition Classes
    RDD
  56. def firstParent[U](implicit arg0: ClassTag[U]): RDD[U]
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  57. def flatMap[U](f: ((L, Option[R])) ⇒ TraversableOnce[U])(implicit arg0: ClassTag[U]): RDD[U]
    Definition Classes
    RDD
  58. def fold(zeroValue: (L, Option[R]))(op: ((L, Option[R]), (L, Option[R])) ⇒ (L, Option[R])): (L, Option[R])
    Definition Classes
    RDD
  59. def foreach(f: ((L, Option[R])) ⇒ Unit): Unit
    Definition Classes
    RDD
  60. def foreachPartition(f: (Iterator[(L, Option[R])]) ⇒ Unit): Unit
    Definition Classes
    RDD
  61. def getCheckpointFile: Option[String]
    Definition Classes
    RDD
  62. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  63. def getDependencies: Seq[Dependency[_]]
    Attributes
    protected
    Definition Classes
    RDD
  64. final def getNumPartitions: Int
    Definition Classes
    RDD
    Annotations
    @Since( "1.6.0" )
  65. def getOutputDeterministicLevel: org.apache.spark.rdd.DeterministicLevel.Value
    Attributes
    protected
    Definition Classes
    RDD
    Annotations
    @DeveloperApi()
  66. def getPartitions: Array[Partition]
    Attributes
    protected
    Definition Classes
    AbstractCassandraJoin
  67. def getPreferredLocations(split: Partition): Seq[String]
    Definition Classes
    AbstractCassandraJoin
  68. def getResourceProfile(): ResourceProfile
    Definition Classes
    RDD
    Annotations
    @Experimental() @Since( "3.1.0" )
  69. def getStorageLevel: StorageLevel
    Definition Classes
    RDD
  70. def glom(): RDD[Array[(L, Option[R])]]
    Definition Classes
    RDD
  71. def groupBy[K](f: ((L, Option[R])) ⇒ K, p: Partitioner)(implicit kt: ClassTag[K], ord: Ordering[K]): RDD[(K, Iterable[(L, Option[R])])]
    Definition Classes
    RDD
  72. def groupBy[K](f: ((L, Option[R])) ⇒ K, numPartitions: Int)(implicit kt: ClassTag[K]): RDD[(K, Iterable[(L, Option[R])])]
    Definition Classes
    RDD
  73. def groupBy[K](f: ((L, Option[R])) ⇒ K)(implicit kt: ClassTag[K]): RDD[(K, Iterable[(L, Option[R])])]
    Definition Classes
    RDD
  74. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  75. val id: Int
    Definition Classes
    RDD
  76. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  77. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  78. def intersection(other: RDD[(L, Option[R])], numPartitions: Int): RDD[(L, Option[R])]
    Definition Classes
    RDD
  79. def intersection(other: RDD[(L, Option[R])], partitioner: Partitioner)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  80. def intersection(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  81. lazy val isBarrier_: Boolean
    Attributes
    protected
    Definition Classes
    RDD
    Annotations
    @transient()
  82. def isCheckpointed: Boolean
    Definition Classes
    RDD
  83. def isEmpty(): Boolean
    Definition Classes
    RDD
  84. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  85. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  86. final def iterator(split: Partition, context: TaskContext): Iterator[(L, Option[R])]
    Definition Classes
    RDD
  87. lazy val joinColumnNames: Seq[ColumnRef]
    Definition Classes
    AbstractCassandraJoin
  88. val joinColumns: ColumnSelector
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  89. def keyBy[K](f: ((L, Option[R])) ⇒ K): RDD[(K, (L, Option[R]))]
    Definition Classes
    RDD
  90. val keyspaceName: String
  91. val left: RDD[L]
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  92. implicit val leftClassTag: ClassTag[L]
  93. def limit(rowLimit: Long): Self

    Adds the limit clause to CQL select statement.

    Adds the limit clause to CQL select statement. The limit will be applied for each created Spark partition. In other words, unless the data are fetched from a single Cassandra partition the number of results is unpredictable.

    The main purpose of passing limit clause is to fetch top n rows from a single Cassandra partition when the table is designed so that it uses clustering keys and a partition key predicate is passed to the where clause.

    Definition Classes
    CassandraRDD
  94. val limit: Option[CassandraLimit]
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  95. def localCheckpoint(): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
  96. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  97. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  98. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  99. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  100. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  101. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  102. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  103. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  104. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  105. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  106. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  107. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  108. val manualRowWriter: Option[RowWriter[L]]
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  109. def map[U](f: ((L, Option[R])) ⇒ U)(implicit arg0: ClassTag[U]): RDD[U]
    Definition Classes
    RDD
  110. def mapPartitions[U](f: (Iterator[(L, Option[R])]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]
    Definition Classes
    RDD
  111. def mapPartitionsWithIndex[U](f: (Int, Iterator[(L, Option[R])]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]
    Definition Classes
    RDD
  112. def max()(implicit ord: Ordering[(L, Option[R])]): (L, Option[R])
    Definition Classes
    RDD
  113. val maybeRateLimit: (Row) ⇒ Row
    Definition Classes
    AbstractCassandraJoin
  114. def min()(implicit ord: Ordering[(L, Option[R])]): (L, Option[R])
    Definition Classes
    RDD
  115. var name: String
    Definition Classes
    RDD
  116. def narrowColumnSelection(columns: Seq[ColumnRef]): Seq[ColumnRef]

    Filters currently selected set of columns with a new set of columns

    Filters currently selected set of columns with a new set of columns

    Definition Classes
    CassandraTableRowReaderProvider
  117. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  118. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  119. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  120. def on(joinColumns: ColumnSelector): CassandraLeftJoinRDD[L, R]
  121. def parent[U](j: Int)(implicit arg0: ClassTag[U]): RDD[U]
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  122. val partitioner: Option[Partitioner]
    Definition Classes
    RDD
  123. final def partitions: Array[Partition]
    Definition Classes
    RDD
  124. def perPartitionLimit(rowLimit: Long): Self

    Adds the PER PARTITION LIMIT clause to CQL select statement.

    Adds the PER PARTITION LIMIT clause to CQL select statement. The limit will be applied for every Cassandra Partition. Only Valid For Cassandra 3.6+

    Definition Classes
    CassandraRDD
  125. def persist(): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
  126. def persist(newLevel: StorageLevel): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
  127. def pipe(command: Seq[String], env: Map[String, String], printPipeContext: ((String) ⇒ Unit) ⇒ Unit, printRDDElement: ((L, Option[R]), (String) ⇒ Unit) ⇒ Unit, separateWorkingDir: Boolean, bufferSize: Int, encoding: String): RDD[String]
    Definition Classes
    RDD
  128. def pipe(command: String, env: Map[String, String]): RDD[String]
    Definition Classes
    RDD
  129. def pipe(command: String): RDD[String]
    Definition Classes
    RDD
  130. final def preferredLocations(split: Partition): Seq[String]
    Definition Classes
    RDD
  131. def randomSplit(weights: Array[Double], seed: Long): Array[RDD[(L, Option[R])]]
    Definition Classes
    RDD
  132. val readConf: ReadConf
  133. def reduce(f: ((L, Option[R]), (L, Option[R])) ⇒ (L, Option[R])): (L, Option[R])
    Definition Classes
    RDD
  134. def repartition(numPartitions: Int)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  135. val requestsPerSecondRateLimiter: RateLimiter
    Definition Classes
    AbstractCassandraJoin
  136. implicit val rightClassTag: ClassTag[R]
  137. lazy val rowReader: RowReader[R]
  138. implicit val rowReaderFactory: RowReaderFactory[R]

    RowReaderFactory and ClassTag should be provided from implicit parameters in the constructor of the class implementing this trait

    RowReaderFactory and ClassTag should be provided from implicit parameters in the constructor of the class implementing this trait

    Definition Classes
    CassandraLeftJoinRDDCassandraTableRowReaderProvider
    See also

    CassandraTableScanRDD

  139. lazy val rowWriter: RowWriter[L]
    Definition Classes
    AbstractCassandraJoin
  140. implicit val rowWriterFactory: RowWriterFactory[L]
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  141. def sample(withReplacement: Boolean, fraction: Double, seed: Long): RDD[(L, Option[R])]
    Definition Classes
    RDD
  142. def saveAsObjectFile(path: String): Unit
    Definition Classes
    RDD
  143. def saveAsTextFile(path: String, codec: Class[_ <: CompressionCodec]): Unit
    Definition Classes
    RDD
  144. def saveAsTextFile(path: String): Unit
    Definition Classes
    RDD
  145. def select(columns: ColumnRef*): Self

    Narrows down the selected set of columns.

    Narrows down the selected set of columns. Use this for better performance, when you don't need all the columns in the result RDD. When called multiple times, it selects the subset of the already selected columns, so after a column was removed by the previous select call, it is not possible to add it back.

    The selected columns are ColumnRef instances. This type allows to specify columns for straightforward retrieval and to read TTL or write time of regular columns as well. Implicit conversions included in com.datastax.spark.connector package make it possible to provide just column names (which is also backward compatible) and optional add .ttl or .writeTime suffix in order to create an appropriate ColumnRef instance.

    Definition Classes
    CassandraRDD
  146. def selectedColumnNames: Seq[String]
    Definition Classes
    CassandraRDD
  147. lazy val selectedColumnRefs: IndexedSeq[ColumnRef]

    Returns the columns to be selected from the table.

    Returns the columns to be selected from the table.

    Definition Classes
    CassandraTableRowReaderProvider
  148. def setName(_name: String): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
  149. def sortBy[K](f: ((L, Option[R])) ⇒ K, ascending: Boolean, numPartitions: Int)(implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  150. def sparkContext: SparkContext
    Definition Classes
    RDD
  151. def splitCount: Option[Int]
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  152. def splitSize: Long
    Attributes
    protected[spark.connector]
    Definition Classes
    CassandraTableRowReaderProvider
  153. def subtract(other: RDD[(L, Option[R])], p: Partitioner)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  154. def subtract(other: RDD[(L, Option[R])], numPartitions: Int): RDD[(L, Option[R])]
    Definition Classes
    RDD
  155. def subtract(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  156. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  157. lazy val tableDef: TableDef
  158. val tableName: String
  159. def take(num: Int): Array[(L, Option[R])]
    Definition Classes
    CassandraRDD → RDD
  160. def takeOrdered(num: Int)(implicit ord: Ordering[(L, Option[R])]): Array[(L, Option[R])]
    Definition Classes
    RDD
  161. def takeSample(withReplacement: Boolean, num: Int, seed: Long): Array[(L, Option[R])]
    Definition Classes
    RDD
  162. def toDebugString: String
    Definition Classes
    RDD
  163. def toEmptyCassandraRDD: EmptyCassandraRDD[(L, Option[R])]
    Definition Classes
    AbstractCassandraJoin
  164. def toJavaRDD(): JavaRDD[(L, Option[R])]
    Definition Classes
    RDD
  165. def toLocalIterator: Iterator[(L, Option[R])]
    Definition Classes
    RDD
  166. def toString(): String
    Definition Classes
    RDD → AnyRef → Any
  167. def top(num: Int)(implicit ord: Ordering[(L, Option[R])]): Array[(L, Option[R])]
    Definition Classes
    RDD
  168. def treeAggregate[U](zeroValue: U)(seqOp: (U, (L, Option[R])) ⇒ U, combOp: (U, U) ⇒ U, depth: Int)(implicit arg0: ClassTag[U]): U
    Definition Classes
    RDD
  169. def treeReduce(f: ((L, Option[R]), (L, Option[R])) ⇒ (L, Option[R]), depth: Int): (L, Option[R])
    Definition Classes
    RDD
  170. def union(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]
    Definition Classes
    RDD
  171. def unpersist(blocking: Boolean): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
  172. def verify(): RowReader[R]

    Checks for existence of keyspace and table.

    Checks for existence of keyspace and table.

    Definition Classes
    CassandraTableRowReaderProvider
  173. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  174. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  175. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  176. def where(cql: String, values: Any*): Self

    Adds a CQL WHERE predicate(s) to the query.

    Adds a CQL WHERE predicate(s) to the query. Useful for leveraging secondary indexes in Cassandra. Implicitly adds an ALLOW FILTERING clause to the WHERE clause, however beware that some predicates might be rejected by Cassandra, particularly in cases when they filter on an unindexed, non-clustering column.

    Definition Classes
    CassandraRDD
  177. val where: CqlWhereClause
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  178. def withAscOrder: Self
    Definition Classes
    CassandraRDD
  179. def withConnector(connector: CassandraConnector): Self

    Returns a copy of this Cassandra RDD with specified connector

    Returns a copy of this Cassandra RDD with specified connector

    Definition Classes
    CassandraRDD
  180. def withDescOrder: Self
    Definition Classes
    CassandraRDD
  181. def withReadConf(readConf: ReadConf): Self

    Allows to set custom read configuration, e.g.

    Allows to set custom read configuration, e.g. consistency level or fetch size.

    Definition Classes
    CassandraRDD
  182. def withResources(rp: ResourceProfile): CassandraLeftJoinRDD.this.type
    Definition Classes
    RDD
    Annotations
    @Experimental() @Since( "3.1.0" )
  183. def zip[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[((L, Option[R]), U)]
    Definition Classes
    RDD
  184. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D])(f: (Iterator[(L, Option[R])], Iterator[B], Iterator[C], Iterator[D]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[D], arg3: ClassTag[V]): RDD[V]
    Definition Classes
    RDD
  185. def zipPartitions[B, C, D, V](rdd2: RDD[B], rdd3: RDD[C], rdd4: RDD[D], preservesPartitioning: Boolean)(f: (Iterator[(L, Option[R])], Iterator[B], Iterator[C], Iterator[D]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[D], arg3: ClassTag[V]): RDD[V]
    Definition Classes
    RDD
  186. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C])(f: (Iterator[(L, Option[R])], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]
    Definition Classes
    RDD
  187. def zipPartitions[B, C, V](rdd2: RDD[B], rdd3: RDD[C], preservesPartitioning: Boolean)(f: (Iterator[(L, Option[R])], Iterator[B], Iterator[C]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[C], arg2: ClassTag[V]): RDD[V]
    Definition Classes
    RDD
  188. def zipPartitions[B, V](rdd2: RDD[B])(f: (Iterator[(L, Option[R])], Iterator[B]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[V]): RDD[V]
    Definition Classes
    RDD
  189. def zipPartitions[B, V](rdd2: RDD[B], preservesPartitioning: Boolean)(f: (Iterator[(L, Option[R])], Iterator[B]) ⇒ Iterator[V])(implicit arg0: ClassTag[B], arg1: ClassTag[V]): RDD[V]
    Definition Classes
    RDD
  190. def zipWithIndex(): RDD[((L, Option[R]), Long)]
    Definition Classes
    RDD
  191. def zipWithUniqueId(): RDD[((L, Option[R]), Long)]
    Definition Classes
    RDD

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 AbstractCassandraJoin[L, Option[R]]

Inherited from CassandraRDD[(L, Option[R])]

Inherited from RDD[(L, Option[R])]

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped