Class

com.datastax.spark.connector.rdd

CassandraLeftJoinRDD

Related Doc: package rdd

Permalink

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
Implicitly
  1. by rddToPairRDDFunctions
  2. by numericRDDToDoubleRDDFunctions
  3. by rddToOrderedRDDFunctions
  4. by rddToSequenceFileRDDFunctions
  5. by rddToAsyncRDDActions
  6. by toPairRDDFunctions
  7. by toRDDFunctions
  8. by any2stringadd
  9. by StringFormat
  10. by Ensuring
  11. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = CassandraLeftJoinRDD[L, R]

    Permalink

    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

    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 CassandraLeftJoinRDD[L, R] to any2stringadd[CassandraLeftJoinRDD[L, R]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  5. def ->[B](y: B): (CassandraLeftJoinRDD[L, R], B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  7. def aggregate[U](zeroValue: U)(seqOp: (U, (L, Option[R])) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): U

    Permalink
    Definition Classes
    RDD
  8. def aggregateByKey[U](zeroValue: U)(seqOp: (U, Option[R]) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): RDD[(L, U)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  9. def aggregateByKey[U](zeroValue: U, numPartitions: Int)(seqOp: (U, Option[R]) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): RDD[(L, U)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  10. def aggregateByKey[U](zeroValue: U, partitioner: Partitioner)(seqOp: (U, Option[R]) ⇒ U, combOp: (U, U) ⇒ U)(implicit arg0: ClassTag[U]): RDD[(L, U)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  11. 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]

    Permalink
    Definition Classes
    CassandraRDD
  12. 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]

    Permalink
    Definition Classes
    CassandraRDD
  13. 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]

    Permalink
    Definition Classes
    CassandraRDD
  14. 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]

    Permalink
    Definition Classes
    CassandraRDD
  15. 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]

    Permalink
    Definition Classes
    CassandraRDD
  16. 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]

    Permalink
    Definition Classes
    CassandraRDD
  17. 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]

    Permalink
    Definition Classes
    CassandraRDD
  18. 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]

    Permalink
    Definition Classes
    CassandraRDD
  19. 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]

    Permalink
    Definition Classes
    CassandraRDD
  20. 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]

    Permalink
    Definition Classes
    CassandraRDD
  21. def as[B, A0, A1](f: (A0, A1) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0], arg2: TypeConverter[A1]): CassandraRDD[B]

    Permalink
    Definition Classes
    CassandraRDD
  22. def as[B, A0](f: (A0) ⇒ B)(implicit arg0: ClassTag[B], arg1: TypeConverter[A0]): CassandraRDD[B]

    Permalink

    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
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def barrier(): RDDBarrier[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
    Annotations
    @Experimental() @Since( "2.4.0" )
  25. def cache(): CassandraLeftJoinRDD.this.type

    Permalink
    Definition Classes
    RDD
  26. def cartesian[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[((L, Option[R]), U)]

    Permalink
    Definition Classes
    RDD
  27. def cassandraCount(): Long

    Permalink

    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
  28. lazy val cassandraPartitionerClassName: String

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  29. def checkColumnsExistence(columns: Seq[ColumnRef]): Seq[ColumnRef]

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  30. def checkValidJoin(): Seq[ColumnRef]

    Permalink

    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
  31. def checkpoint(): Unit

    Permalink
    Definition Classes
    RDD
  32. val classTag: ClassTag[R]

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraLeftJoinRDDCassandraTableRowReaderProvider
  33. def clearDependencies(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  34. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def clusteringOrder(order: ClusteringOrder): Self

    Permalink

    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
  36. val clusteringOrder: Option[ClusteringOrder]

    Permalink
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  37. def coalesce(numPartitions: Int, shuffle: Boolean, partitionCoalescer: Option[PartitionCoalescer])(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  38. def cogroup[W1, W2, W3](other1: RDD[(L, W1)], other2: RDD[(L, W2)], other3: RDD[(L, W3)], numPartitions: Int): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2], Iterable[W3]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  39. def cogroup[W1, W2](other1: RDD[(L, W1)], other2: RDD[(L, W2)], numPartitions: Int): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  40. def cogroup[W](other: RDD[(L, W)], numPartitions: Int): RDD[(L, (Iterable[Option[R]], Iterable[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  41. def cogroup[W1, W2](other1: RDD[(L, W1)], other2: RDD[(L, W2)]): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  42. def cogroup[W](other: RDD[(L, W)]): RDD[(L, (Iterable[Option[R]], Iterable[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  43. def cogroup[W1, W2, W3](other1: RDD[(L, W1)], other2: RDD[(L, W2)], other3: RDD[(L, W3)]): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2], Iterable[W3]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  44. def cogroup[W1, W2](other1: RDD[(L, W1)], other2: RDD[(L, W2)], partitioner: Partitioner): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  45. def cogroup[W](other: RDD[(L, W)], partitioner: Partitioner): RDD[(L, (Iterable[Option[R]], Iterable[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  46. def cogroup[W1, W2, W3](other1: RDD[(L, W1)], other2: RDD[(L, W2)], other3: RDD[(L, W3)], partitioner: Partitioner): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2], Iterable[W3]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  47. def collect[U](f: PartialFunction[(L, Option[R]), U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  48. def collect(): Array[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  49. def collectAsMap(): Map[L, Option[R]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  50. def collectAsync(): FutureAction[Seq[(L, Option[R])]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to AsyncRDDActions[(L, Option[R])] performed by method rddToAsyncRDDActions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type ClassTag[(L, Option[R])] is in scope.
    Definition Classes
    AsyncRDDActions
  51. val columnNames: ColumnSelector

    Permalink
  52. def combineByKey[C](createCombiner: (Option[R]) ⇒ C, mergeValue: (C, Option[R]) ⇒ C, mergeCombiners: (C, C) ⇒ C): RDD[(L, C)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  53. def combineByKey[C](createCombiner: (Option[R]) ⇒ C, mergeValue: (C, Option[R]) ⇒ C, mergeCombiners: (C, C) ⇒ C, numPartitions: Int): RDD[(L, C)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  54. def combineByKey[C](createCombiner: (Option[R]) ⇒ C, mergeValue: (C, Option[R]) ⇒ C, mergeCombiners: (C, C) ⇒ C, partitioner: Partitioner, mapSideCombine: Boolean, serializer: Serializer): RDD[(L, C)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  55. def combineByKeyWithClassTag[C](createCombiner: (Option[R]) ⇒ C, mergeValue: (C, Option[R]) ⇒ C, mergeCombiners: (C, C) ⇒ C)(implicit ct: ClassTag[C]): RDD[(L, C)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
    Annotations
    @Experimental()
  56. def combineByKeyWithClassTag[C](createCombiner: (Option[R]) ⇒ C, mergeValue: (C, Option[R]) ⇒ C, mergeCombiners: (C, C) ⇒ C, numPartitions: Int)(implicit ct: ClassTag[C]): RDD[(L, C)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
    Annotations
    @Experimental()
  57. def combineByKeyWithClassTag[C](createCombiner: (Option[R]) ⇒ C, mergeValue: (C, Option[R]) ⇒ C, mergeCombiners: (C, C) ⇒ C, partitioner: Partitioner, mapSideCombine: Boolean, serializer: Serializer)(implicit ct: ClassTag[C]): RDD[(L, C)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
    Annotations
    @Experimental()
  58. def compute(split: Partition, context: TaskContext): Iterator[(L, Option[R])]

    Permalink

    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
  59. val connector: CassandraConnector

    Permalink
  60. def consistencyLevel: ConsistencyLevel

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  61. def context: SparkContext

    Permalink
    Definition Classes
    RDD
  62. def convertTo[B](implicit arg0: ClassTag[B], arg1: RowReaderFactory[B]): CassandraRDD[B]

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraRDD
  63. def copy(columnNames: ColumnSelector = columnNames, where: CqlWhereClause = where, limit: Option[CassandraLimit] = limit, clusteringOrder: Option[ClusteringOrder] = None, readConf: ReadConf = readConf, connector: CassandraConnector = connector): Self

    Permalink

    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
  64. def count(): Long

    Permalink
    Definition Classes
    RDD
  65. def countApprox(timeout: Long, confidence: Double): PartialResult[BoundedDouble]

    Permalink
    Definition Classes
    RDD
  66. def countApproxDistinct(relativeSD: Double): Long

    Permalink
    Definition Classes
    RDD
  67. def countApproxDistinct(p: Int, sp: Int): Long

    Permalink
    Definition Classes
    RDD
  68. def countApproxDistinctByKey(relativeSD: Double): RDD[(L, Long)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  69. def countApproxDistinctByKey(relativeSD: Double, numPartitions: Int): RDD[(L, Long)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  70. def countApproxDistinctByKey(relativeSD: Double, partitioner: Partitioner): RDD[(L, Long)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  71. def countApproxDistinctByKey(p: Int, sp: Int, partitioner: Partitioner): RDD[(L, Long)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  72. def countAsync(): FutureAction[Long]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to AsyncRDDActions[(L, Option[R])] performed by method rddToAsyncRDDActions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type ClassTag[(L, Option[R])] is in scope.
    Definition Classes
    AsyncRDDActions
  73. def countByKey(): Map[L, Long]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  74. def countByKeyApprox(timeout: Long, confidence: Double): PartialResult[Map[L, BoundedDouble]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  75. def countByValue()(implicit ord: Ordering[(L, Option[R])]): Map[(L, Option[R]), Long]

    Permalink
    Definition Classes
    RDD
  76. def countByValueApprox(timeout: Long, confidence: Double)(implicit ord: Ordering[(L, Option[R])]): PartialResult[Map[(L, Option[R]), BoundedDouble]]

    Permalink
    Definition Classes
    RDD
  77. def deleteFromCassandra(keyspaceName: String, tableName: String, deleteColumns: ColumnSelector = SomeColumns(), keyColumns: ColumnSelector = PrimaryKeyColumns, writeConf: WriteConf = ...)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), rwf: RowWriterFactory[(L, Option[R])]): Unit

    Permalink

    Delete data from Cassandra table, using data from the RDD as primary keys.

    Delete data from Cassandra table, using data from the RDD as primary keys. Uses the specified column names.

    keyspaceName

    the name of the Keyspace to use

    tableName

    the name of the Table to use

    deleteColumns

    The list of column names to delete, empty ColumnSelector means full row.

    keyColumns

    Primary key columns selector, Optional. All RDD primary columns columns will be checked by default

    writeConf

    additional configuration object allowing to set consistency level, batch size, etc.

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctionsWritableToCassandra
    See also

    com.datastax.spark.connector.writer.WritableToCassandra

  78. final def dependencies: Seq[Dependency[_]]

    Permalink
    Definition Classes
    RDD
  79. def distinct(): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  80. def distinct(numPartitions: Int)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  81. def ensuring(cond: (CassandraLeftJoinRDD[L, R]) ⇒ Boolean, msg: ⇒ Any): CassandraLeftJoinRDD[L, R]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  87. def fetchSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  88. def filter(f: ((L, Option[R])) ⇒ Boolean): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  89. def filterByRange(lower: L, upper: L): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to OrderedRDDFunctions[L, Option[R], (L, Option[R])] performed by method rddToOrderedRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is context-bounded by scala.Ordering (L: Ordering)
    2. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    3. an implicit value of type ClassTag[Option[R]] is in scope
    Definition Classes
    OrderedRDDFunctions
  90. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  91. def first(): (L, Option[R])

    Permalink
    Definition Classes
    RDD
  92. def firstParent[U](implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  93. def flatMap[U](f: ((L, Option[R])) ⇒ TraversableOnce[U])(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  94. def flatMapValues[U](f: (Option[R]) ⇒ TraversableOnce[U]): RDD[(L, U)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  95. def fold(zeroValue: (L, Option[R]))(op: ((L, Option[R]), (L, Option[R])) ⇒ (L, Option[R])): (L, Option[R])

    Permalink
    Definition Classes
    RDD
  96. def foldByKey(zeroValue: Option[R])(func: (Option[R], Option[R]) ⇒ Option[R]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  97. def foldByKey(zeroValue: Option[R], numPartitions: Int)(func: (Option[R], Option[R]) ⇒ Option[R]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  98. def foldByKey(zeroValue: Option[R], partitioner: Partitioner)(func: (Option[R], Option[R]) ⇒ Option[R]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  99. def foreach(f: ((L, Option[R])) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
  100. def foreachAsync(f: ((L, Option[R])) ⇒ Unit): FutureAction[Unit]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to AsyncRDDActions[(L, Option[R])] performed by method rddToAsyncRDDActions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type ClassTag[(L, Option[R])] is in scope.
    Definition Classes
    AsyncRDDActions
  101. def foreachPartition(f: (Iterator[(L, Option[R])]) ⇒ Unit): Unit

    Permalink
    Definition Classes
    RDD
  102. def foreachPartitionAsync(f: (Iterator[(L, Option[R])]) ⇒ Unit): FutureAction[Unit]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to AsyncRDDActions[(L, Option[R])] performed by method rddToAsyncRDDActions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type ClassTag[(L, Option[R])] is in scope.
    Definition Classes
    AsyncRDDActions
  103. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to StringFormat[CassandraLeftJoinRDD[L, R]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  104. def fullOuterJoin[W](other: RDD[(L, W)], numPartitions: Int): RDD[(L, (Option[Option[R]], Option[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  105. def fullOuterJoin[W](other: RDD[(L, W)]): RDD[(L, (Option[Option[R]], Option[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  106. def fullOuterJoin[W](other: RDD[(L, W)], partitioner: Partitioner): RDD[(L, (Option[Option[R]], Option[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  107. def getCheckpointFile: Option[String]

    Permalink
    Definition Classes
    RDD
  108. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  109. def getDependencies: Seq[Dependency[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  110. final def getNumPartitions: Int

    Permalink
    Definition Classes
    RDD
    Annotations
    @Since( "1.6.0" )
  111. def getOutputDeterministicLevel: org.apache.spark.rdd.DeterministicLevel.Value

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
    Annotations
    @DeveloperApi()
  112. def getPartitions: Array[Partition]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractCassandraJoin
  113. def getPreferredLocations(split: Partition): Seq[String]

    Permalink
    Definition Classes
    AbstractCassandraJoin
  114. def getStorageLevel: StorageLevel

    Permalink
    Definition Classes
    RDD
  115. def glom(): RDD[Array[(L, Option[R])]]

    Permalink
    Definition Classes
    RDD
  116. def groupBy[K](f: ((L, Option[R])) ⇒ K, p: Partitioner)(implicit kt: ClassTag[K], ord: Ordering[K]): RDD[(K, Iterable[(L, Option[R])])]

    Permalink
    Definition Classes
    RDD
  117. def groupBy[K](f: ((L, Option[R])) ⇒ K, numPartitions: Int)(implicit kt: ClassTag[K]): RDD[(K, Iterable[(L, Option[R])])]

    Permalink
    Definition Classes
    RDD
  118. def groupBy[K](f: ((L, Option[R])) ⇒ K)(implicit kt: ClassTag[K]): RDD[(K, Iterable[(L, Option[R])])]

    Permalink
    Definition Classes
    RDD
  119. def groupByKey(): RDD[(L, Iterable[Option[R]])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  120. def groupByKey(numPartitions: Int): RDD[(L, Iterable[Option[R]])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  121. def groupByKey(partitioner: Partitioner): RDD[(L, Iterable[Option[R]])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  122. def groupWith[W1, W2, W3](other1: RDD[(L, W1)], other2: RDD[(L, W2)], other3: RDD[(L, W3)]): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2], Iterable[W3]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  123. def groupWith[W1, W2](other1: RDD[(L, W1)], other2: RDD[(L, W2)]): RDD[(L, (Iterable[Option[R]], Iterable[W1], Iterable[W2]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  124. def groupWith[W](other: RDD[(L, W)]): RDD[(L, (Iterable[Option[R]], Iterable[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  125. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  126. def histogram(buckets: Array[Double], evenBuckets: Boolean): Array[Long]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  127. def histogram(bucketCount: Int): (Array[Double], Array[Long])

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  128. val id: Int

    Permalink
    Definition Classes
    RDD
  129. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  130. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  131. def intersection(other: RDD[(L, Option[R])], numPartitions: Int): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  132. def intersection(other: RDD[(L, Option[R])], partitioner: Partitioner)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  133. def intersection(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  134. lazy val isBarrier_: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RDD
  135. def isCheckpointed: Boolean

    Permalink
    Definition Classes
    RDD
  136. def isEmpty(): Boolean

    Permalink
    Definition Classes
    RDD
  137. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  138. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  139. final def iterator(split: Partition, context: TaskContext): Iterator[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  140. def join[W](other: RDD[(L, W)], numPartitions: Int): RDD[(L, (Option[R], W))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  141. def join[W](other: RDD[(L, W)]): RDD[(L, (Option[R], W))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  142. def join[W](other: RDD[(L, W)], partitioner: Partitioner): RDD[(L, (Option[R], W))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  143. lazy val joinColumnNames: Seq[ColumnRef]

    Permalink
    Definition Classes
    AbstractCassandraJoin
  144. val joinColumns: ColumnSelector

    Permalink
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  145. def joinWithCassandraTable[R](keyspaceName: String, tableName: String, selectedColumns: ColumnSelector = AllColumns, joinColumns: ColumnSelector = PartitionKeyColumns)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), newType: ClassTag[R], rrf: RowReaderFactory[R], ev: ValidRDDType[R], currentType: ClassTag[(L, Option[R])], rwf: RowWriterFactory[(L, Option[R])]): CassandraJoinRDD[(L, Option[R]), R]

    Permalink

    Uses the data from RDD to join with a Cassandra table without retrieving the entire table.

    Uses the data from RDD to join with a Cassandra table without retrieving the entire table. Any RDD which can be used to saveToCassandra can be used to joinWithCassandra as well as any RDD which only specifies the partition Key of a Cassandra Table. This method executes single partition requests against the Cassandra Table and accepts the functional modifiers that a normal com.datastax.spark.connector.rdd.CassandraTableScanRDD takes.

    By default this method only uses the Partition Key for joining but any combination of columns which are acceptable to C* can be used in the join. Specify columns using joinColumns as a parameter or the on() method.

    Example With Prior Repartitioning:

    val source = sc.parallelize(keys).map(x => new KVRow(x))
    val repart = source.repartitionByCassandraReplica(keyspace, tableName, 10)
    val someCass = repart.joinWithCassandraTable(keyspace, tableName)

    Example Joining on Clustering Columns:

    val source = sc.parallelize(keys).map(x => (x, x * 100))
    val someCass = source.joinWithCassandraTable(keyspace, wideTable).on(SomeColumns("key", "group"))
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  146. def keyBy[K](f: ((L, Option[R])) ⇒ K): RDD[(K, (L, Option[R]))]

    Permalink
    Definition Classes
    RDD
  147. def keyByCassandraReplica(keyspaceName: String, tableName: String, partitionKeyMapper: ColumnSelector = PartitionKeyColumns)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), currentType: ClassTag[(L, Option[R])], rwf: RowWriterFactory[(L, Option[R])]): RDD[(Set[InetAddress], (L, Option[R]))]

    Permalink

    Key every row in the RDD by with the IP Adresses of all of the Cassandra nodes which a contain a replica of the data specified by that row.

    Key every row in the RDD by with the IP Adresses of all of the Cassandra nodes which a contain a replica of the data specified by that row. The calling RDD must have rows that can be converted into the partition key of the given Cassandra Table.

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  148. def keys: RDD[L]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  149. val keyspaceName: String

    Permalink
  150. val left: RDD[L]

    Permalink
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  151. implicit val leftClassTag: ClassTag[L]

    Permalink
  152. def leftJoinWithCassandraTable[R](keyspaceName: String, tableName: String, selectedColumns: ColumnSelector = AllColumns, joinColumns: ColumnSelector = PartitionKeyColumns)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), newType: ClassTag[R], rrf: RowReaderFactory[R], ev: ValidRDDType[R], currentType: ClassTag[(L, Option[R])], rwf: RowWriterFactory[(L, Option[R])]): CassandraLeftJoinRDD[(L, Option[R]), R]

    Permalink

    Uses the data from RDD to left join with a Cassandra table without retrieving the entire table.

    Uses the data from RDD to left join with a Cassandra table without retrieving the entire table. Any RDD which can be used to saveToCassandra can be used to leftJoinWithCassandra as well as any RDD which only specifies the partition Key of a Cassandra Table. This method executes single partition requests against the Cassandra Table and accepts the functional modifiers that a normal com.datastax.spark.connector.rdd.CassandraTableScanRDD takes.

    By default this method only uses the Partition Key for joining but any combination of columns which are acceptable to C* can be used in the join. Specify columns using joinColumns as a parameter or the on() method.

    Example With Prior Repartitioning:

    val source = sc.parallelize(keys).map(x => new KVRow(x))
    val repart = source.repartitionByCassandraReplica(keyspace, tableName, 10)
    val someCass = repart.leftJoinWithCassandraTable(keyspace, tableName)

    Example Joining on Clustering Columns:

    val source = sc.parallelize(keys).map(x => (x, x * 100))
    val someCass = source.leftJoinWithCassandraTable(keyspace, wideTable).on(SomeColumns("key", "group"))
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  153. def leftOuterJoin[W](other: RDD[(L, W)], numPartitions: Int): RDD[(L, (Option[R], Option[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  154. def leftOuterJoin[W](other: RDD[(L, W)]): RDD[(L, (Option[R], Option[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  155. def leftOuterJoin[W](other: RDD[(L, W)], partitioner: Partitioner): RDD[(L, (Option[R], Option[W]))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  156. def limit(rowLimit: Long): Self

    Permalink

    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
  157. val limit: Option[CassandraLimit]

    Permalink
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  158. def localCheckpoint(): CassandraLeftJoinRDD.this.type

    Permalink
    Definition Classes
    RDD
  159. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  160. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  161. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  162. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  163. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  164. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  165. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  166. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  167. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  168. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  169. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  170. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  171. def lookup(key: L): Seq[Option[R]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  172. val manualRowWriter: Option[RowWriter[L]]

    Permalink
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  173. def map[U](f: ((L, Option[R])) ⇒ U)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  174. def mapPartitions[U](f: (Iterator[(L, Option[R])]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  175. def mapPartitionsWithIndex[U](f: (Int, Iterator[(L, Option[R])]) ⇒ Iterator[U], preservesPartitioning: Boolean)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Definition Classes
    RDD
  176. def mapValues[U](f: (Option[R]) ⇒ U): RDD[(L, U)]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  177. def max()(implicit ord: Ordering[(L, Option[R])]): (L, Option[R])

    Permalink
    Definition Classes
    RDD
  178. def mean(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  179. def meanApprox(timeout: Long, confidence: Double): PartialResult[BoundedDouble]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  180. def min()(implicit ord: Ordering[(L, Option[R])]): (L, Option[R])

    Permalink
    Definition Classes
    RDD
  181. var name: String

    Permalink
    Definition Classes
    RDD
  182. def narrowColumnSelection(columns: Seq[ColumnRef]): Seq[ColumnRef]

    Permalink

    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
  183. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  186. def on(joinColumns: ColumnSelector): CassandraLeftJoinRDD[L, R]

    Permalink
  187. def parent[U](j: Int)(implicit arg0: ClassTag[U]): RDD[U]

    Permalink
    Attributes
    protected[org.apache.spark]
    Definition Classes
    RDD
  188. def partitionBy(partitioner: Partitioner): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  189. val partitioner: Option[Partitioner]

    Permalink
    Definition Classes
    RDD
  190. final def partitions: Array[Partition]

    Permalink
    Definition Classes
    RDD
  191. def perPartitionLimit(rowLimit: Long): Self

    Permalink

    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
  192. def persist(): CassandraLeftJoinRDD.this.type

    Permalink
    Definition Classes
    RDD
  193. def persist(newLevel: StorageLevel): CassandraLeftJoinRDD.this.type

    Permalink
    Definition Classes
    RDD
  194. 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]

    Permalink
    Definition Classes
    RDD
  195. def pipe(command: String, env: Map[String, String]): RDD[String]

    Permalink
    Definition Classes
    RDD
  196. def pipe(command: String): RDD[String]

    Permalink
    Definition Classes
    RDD
  197. def popStdev(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
    Annotations
    @Since( "2.1.0" )
  198. def popVariance(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
    Annotations
    @Since( "2.1.0" )
  199. final def preferredLocations(split: Partition): Seq[String]

    Permalink
    Definition Classes
    RDD
  200. def randomSplit(weights: Array[Double], seed: Long): Array[RDD[(L, Option[R])]]

    Permalink
    Definition Classes
    RDD
  201. val readConf: ReadConf

    Permalink
  202. def reduce(f: ((L, Option[R]), (L, Option[R])) ⇒ (L, Option[R])): (L, Option[R])

    Permalink
    Definition Classes
    RDD
  203. def reduceByKey(func: (Option[R], Option[R]) ⇒ Option[R]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  204. def reduceByKey(func: (Option[R], Option[R]) ⇒ Option[R], numPartitions: Int): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  205. def reduceByKey(partitioner: Partitioner, func: (Option[R], Option[R]) ⇒ Option[R]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  206. def reduceByKeyLocally(func: (Option[R], Option[R]) ⇒ Option[R]): Map[L, Option[R]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  207. def repartition(numPartitions: Int)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  208. def repartitionAndSortWithinPartitions(partitioner: Partitioner): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to OrderedRDDFunctions[L, Option[R], (L, Option[R])] performed by method rddToOrderedRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is context-bounded by scala.Ordering (L: Ordering)
    2. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    3. an implicit value of type ClassTag[Option[R]] is in scope
    Definition Classes
    OrderedRDDFunctions
  209. def repartitionByCassandraReplica(keyspaceName: String, tableName: String, partitionsPerHost: Int = 10, partitionKeyMapper: ColumnSelector = PartitionKeyColumns)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), currentType: ClassTag[(L, Option[R])], rwf: RowWriterFactory[(L, Option[R])]): CassandraPartitionedRDD[(L, Option[R])]

    Permalink

    Repartitions the data (via a shuffle) based upon the replication of the given keyspaceName and tableName.

    Repartitions the data (via a shuffle) based upon the replication of the given keyspaceName and tableName. Calling this method before using joinWithCassandraTable will ensure that requests will be coordinator local. partitionsPerHost Controls the number of Spark Partitions that will be created in this repartitioning event. The calling RDD must have rows that can be converted into the partition key of the given Cassandra Table.

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  210. implicit val rightClassTag: ClassTag[R]

    Permalink
  211. def rightOuterJoin[W](other: RDD[(L, W)], numPartitions: Int): RDD[(L, (Option[Option[R]], W))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  212. def rightOuterJoin[W](other: RDD[(L, W)]): RDD[(L, (Option[Option[R]], W))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  213. def rightOuterJoin[W](other: RDD[(L, W)], partitioner: Partitioner): RDD[(L, (Option[Option[R]], W))]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  214. lazy val rowReader: RowReader[R]

    Permalink
  215. implicit val rowReaderFactory: RowReaderFactory[R]

    Permalink

    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

  216. lazy val rowWriter: RowWriter[L]

    Permalink
    Definition Classes
    AbstractCassandraJoin
  217. implicit val rowWriterFactory: RowWriterFactory[L]

    Permalink
    Definition Classes
    CassandraLeftJoinRDD → AbstractCassandraJoin
  218. def sample(withReplacement: Boolean, fraction: Double, seed: Long): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  219. def sampleByKey(withReplacement: Boolean, fractions: Map[L, Double], seed: Long): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  220. def sampleByKeyExact(withReplacement: Boolean, fractions: Map[L, Double], seed: Long): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  221. def sampleStdev(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  222. def sampleVariance(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  223. def saveAsCassandraTable(keyspaceName: String, tableName: String, columns: ColumnSelector = AllColumns, writeConf: WriteConf = ...)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), rwf: RowWriterFactory[(L, Option[R])], columnMapper: ColumnMapper[(L, Option[R])]): Unit

    Permalink

    Saves the data from RDD to a new table with definition taken from the ColumnMapper for this class.

    Saves the data from RDD to a new table with definition taken from the ColumnMapper for this class.

    keyspaceName

    keyspace where to create a new table

    tableName

    name of the table to create; the table must not exist

    columns

    Selects the columns to save data to. Uses only the unique column names, and you must select at least all primary key columns. All other fields are discarded. Non-selected property/column names are left unchanged. This parameter does not affect table creation.

    writeConf

    additional configuration object allowing to set consistency level, batch size, etc.

    connector

    optional, implicit connector to Cassandra

    rwf

    factory for obtaining the row writer to be used to extract column values from items of the RDD

    columnMapper

    a column mapper determining the definition of the table

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  224. def saveAsCassandraTableEx(table: TableDef, columns: ColumnSelector = AllColumns, writeConf: WriteConf = ...)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), rwf: RowWriterFactory[(L, Option[R])]): Unit

    Permalink

    Saves the data from RDD to a new table defined by the given TableDef.

    Saves the data from RDD to a new table defined by the given TableDef.

    First it creates a new table with all columns from the TableDef and then it saves RDD content in the same way as saveToCassandra. The table must not exist prior to this call.

    table

    table definition used to create a new table

    columns

    Selects the columns to save data to. Uses only the unique column names, and you must select at least all primary key columns. All other fields are discarded. Non-selected property/column names are left unchanged. This parameter does not affect table creation.

    writeConf

    additional configuration object allowing to set consistency level, batch size, etc.

    connector

    optional, implicit connector to Cassandra

    rwf

    factory for obtaining the row writer to be used to extract column values from items of the RDD

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  225. def saveAsHadoopDataset(conf: JobConf): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  226. def saveAsHadoopFile(path: String, keyClass: Class[_], valueClass: Class[_], outputFormatClass: Class[_ <: OutputFormat[_, _]], conf: JobConf, codec: Option[Class[_ <: CompressionCodec]]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  227. def saveAsHadoopFile(path: String, keyClass: Class[_], valueClass: Class[_], outputFormatClass: Class[_ <: OutputFormat[_, _]], codec: Class[_ <: CompressionCodec]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  228. def saveAsHadoopFile[F <: OutputFormat[K, V]](path: String, codec: Class[_ <: CompressionCodec])(implicit fm: ClassTag[F]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  229. def saveAsHadoopFile[F <: OutputFormat[K, V]](path: String)(implicit fm: ClassTag[F]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  230. def saveAsNewAPIHadoopDataset(conf: Configuration): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  231. def saveAsNewAPIHadoopFile(path: String, keyClass: Class[_], valueClass: Class[_], outputFormatClass: Class[_ <: OutputFormat[_, _]], conf: Configuration): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  232. def saveAsNewAPIHadoopFile[F <: OutputFormat[K, V]](path: String)(implicit fm: ClassTag[F]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  233. def saveAsObjectFile(path: String): Unit

    Permalink
    Definition Classes
    RDD
  234. def saveAsSequenceFile(path: String, codec: Option[Class[_ <: CompressionCodec]]): Unit

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to SequenceFileRDDFunctions[L, Option[R]] performed by method rddToSequenceFileRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by org.apache.spark.WritableFactory (L: WritableFactory)
    4. an implicit value of type WritableFactory[Option[R]] is in scope
    Definition Classes
    SequenceFileRDDFunctions
  235. def saveAsTextFile(path: String, codec: Class[_ <: CompressionCodec]): Unit

    Permalink
    Definition Classes
    RDD
  236. def saveAsTextFile(path: String): Unit

    Permalink
    Definition Classes
    RDD
  237. def saveToCassandra(keyspaceName: String, tableName: String, columns: ColumnSelector = AllColumns, writeConf: WriteConf = ...)(implicit connector: CassandraConnector = CassandraConnector(sparkContext), rwf: RowWriterFactory[(L, Option[R])]): Unit

    Permalink

    Saves the data from RDD to a Cassandra table.

    Saves the data from RDD to a Cassandra table. Uses the specified column names.

    keyspaceName

    the name of the Keyspace to use

    tableName

    the name of the Table to use

    writeConf

    additional configuration object allowing to set consistency level, batch size, etc.

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctionsWritableToCassandra
    See also

    com.datastax.spark.connector.writer.WritableToCassandra

  238. def select(columns: ColumnRef*): Self

    Permalink

    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
  239. def selectedColumnNames: Seq[String]

    Permalink
    Definition Classes
    CassandraRDD
  240. lazy val selectedColumnRefs: Seq[ColumnRef]

    Permalink

    Returns the columns to be selected from the table.

    Returns the columns to be selected from the table.

    Definition Classes
    CassandraTableRowReaderProvider
  241. def setName(_name: String): CassandraLeftJoinRDD.this.type

    Permalink
    Definition Classes
    RDD
  242. lazy val singleKeyCqlQuery: String

    Permalink
    Definition Classes
    AbstractCassandraJoin
  243. def slidingPrefetchIterator[T](it: Iterator[Future[T]], batchSize: Int): Iterator[T]

    Permalink

    Prefetches a batchSize of elements at a time *

    Prefetches a batchSize of elements at a time *

    Attributes
    protected
    Definition Classes
    AbstractCassandraJoin
  244. def sortBy[K](f: ((L, Option[R])) ⇒ K, ascending: Boolean, numPartitions: Int)(implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  245. def sortByKey(ascending: Boolean, numPartitions: Int): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to OrderedRDDFunctions[L, Option[R], (L, Option[R])] performed by method rddToOrderedRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is context-bounded by scala.Ordering (L: Ordering)
    2. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    3. an implicit value of type ClassTag[Option[R]] is in scope
    Definition Classes
    OrderedRDDFunctions
  246. def spanBy[U](f: ((L, Option[R])) ⇒ U): RDD[(U, Iterable[(L, Option[R])])]

    Permalink

    Applies a function to each item, and groups consecutive items having the same value together.

    Applies a function to each item, and groups consecutive items having the same value together. Contrary to groupBy, items from the same group must be already next to each other in the original collection. Works locally on each partition, so items from different partitions will never be placed in the same group.

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    RDDFunctions
  247. def spanByKey: RDD[(L, Seq[Option[R]])]

    Permalink

    Groups items with the same key, assuming the items with the same key are next to each other in the collection.

    Groups items with the same key, assuming the items with the same key are next to each other in the collection. It does not perform shuffle, therefore it is much faster than using much more universal Spark RDD groupByKey. For this method to be useful with Cassandra tables, the key must represent a prefix of the primary key, containing at least the partition key of the Cassandra table.

    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to PairRDDFunctions[L, Option[R]] performed by method toPairRDDFunctions in com.datastax.spark.connector.
    Definition Classes
    PairRDDFunctions
  248. def sparkContext: SparkContext

    Permalink
    Definition Classes
    RDD
  249. def splitCount: Option[Int]

    Permalink
    Attributes
    protected
    Definition Classes
    CassandraTableRowReaderProvider
  250. def splitSize: Long

    Permalink
    Attributes
    protected[com.datastax.spark.connector]
    Definition Classes
    CassandraTableRowReaderProvider
  251. def stats(): StatCounter

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  252. def stdev(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  253. def subtract(other: RDD[(L, Option[R])], p: Partitioner)(implicit ord: Ordering[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  254. def subtract(other: RDD[(L, Option[R])], numPartitions: Int): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  255. def subtract(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  256. def subtractByKey[W](other: RDD[(L, W)], p: Partitioner)(implicit arg0: ClassTag[W]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  257. def subtractByKey[W](other: RDD[(L, W)], numPartitions: Int)(implicit arg0: ClassTag[W]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  258. def subtractByKey[W](other: RDD[(L, W)])(implicit arg0: ClassTag[W]): RDD[(L, Option[R])]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  259. def sum(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  260. def sumApprox(timeout: Long, confidence: Double): PartialResult[BoundedDouble]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  261. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  262. lazy val tableDef: TableDef

    Permalink
  263. val tableName: String

    Permalink
  264. def take(num: Int): Array[(L, Option[R])]

    Permalink
    Definition Classes
    CassandraRDD → RDD
  265. def takeAsync(num: Int): FutureAction[Seq[(L, Option[R])]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to AsyncRDDActions[(L, Option[R])] performed by method rddToAsyncRDDActions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type ClassTag[(L, Option[R])] is in scope.
    Definition Classes
    AsyncRDDActions
  266. def takeOrdered(num: Int)(implicit ord: Ordering[(L, Option[R])]): Array[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  267. def takeSample(withReplacement: Boolean, num: Int, seed: Long): Array[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  268. def toDebugString: String

    Permalink
    Definition Classes
    RDD
  269. def toEmptyCassandraRDD: EmptyCassandraRDD[(L, Option[R])]

    Permalink
    Definition Classes
    AbstractCassandraJoin
  270. def toJavaRDD(): JavaRDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  271. def toLocalIterator: Iterator[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  272. def toString(): String

    Permalink
    Definition Classes
    RDD → AnyRef → Any
  273. def top(num: Int)(implicit ord: Ordering[(L, Option[R])]): Array[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  274. def treeAggregate[U](zeroValue: U)(seqOp: (U, (L, Option[R])) ⇒ U, combOp: (U, U) ⇒ U, depth: Int)(implicit arg0: ClassTag[U]): U

    Permalink
    Definition Classes
    RDD
  275. def treeReduce(f: ((L, Option[R]), (L, Option[R])) ⇒ (L, Option[R]), depth: Int): (L, Option[R])

    Permalink
    Definition Classes
    RDD
  276. def union(other: RDD[(L, Option[R])]): RDD[(L, Option[R])]

    Permalink
    Definition Classes
    RDD
  277. def unpersist(blocking: Boolean): CassandraLeftJoinRDD.this.type

    Permalink
    Definition Classes
    RDD
  278. def values: RDD[Option[R]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]] performed by method rddToPairRDDFunctions in org.apache.spark.rdd.RDD.
    This conversion will take place only if all of the following constraints are met:
    1. L is accompanied by a ClassTag, which is a runtime representation of its type that survives erasure (L: ClassTag)
    2. an implicit value of type ClassTag[Option[R]] is in scope
    3. L is context-bounded by scala.Ordering (L: Ordering)
    Definition Classes
    PairRDDFunctions
  279. def variance(): Double

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions performed by method numericRDDToDoubleRDDFunctions in org.apache.spark.rdd.RDD. This conversion will take place only if an implicit value of type Numeric[(L, Option[R])] is in scope.
    Definition Classes
    DoubleRDDFunctions
  280. def verify(): RowReader[R]

    Permalink

    Checks for existence of keyspace and table.

    Checks for existence of keyspace and table.

    Definition Classes
    CassandraTableRowReaderProvider
  281. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  284. def where(cql: String, values: Any*): Self

    Permalink

    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
  285. val where: CqlWhereClause

    Permalink
    Definition Classes
    CassandraLeftJoinRDDCassandraRDD
  286. def withAscOrder: Self

    Permalink
    Definition Classes
    CassandraRDD
  287. def withConnector(connector: CassandraConnector): Self

    Permalink

    Returns a copy of this Cassandra RDD with specified connector

    Returns a copy of this Cassandra RDD with specified connector

    Definition Classes
    CassandraRDD
  288. def withDescOrder: Self

    Permalink
    Definition Classes
    CassandraRDD
  289. def withReadConf(readConf: ReadConf): Self

    Permalink

    Allows to set custom read configuration, e.g.

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

    Definition Classes
    CassandraRDD
  290. def zip[U](other: RDD[U])(implicit arg0: ClassTag[U]): RDD[((L, Option[R]), U)]

    Permalink
    Definition Classes
    RDD
  291. 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]

    Permalink
    Definition Classes
    RDD
  292. 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]

    Permalink
    Definition Classes
    RDD
  293. 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]

    Permalink
    Definition Classes
    RDD
  294. 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]

    Permalink
    Definition Classes
    RDD
  295. 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]

    Permalink
    Definition Classes
    RDD
  296. 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]

    Permalink
    Definition Classes
    RDD
  297. def zipWithIndex(): RDD[((L, Option[R]), Long)]

    Permalink
    Definition Classes
    RDD
  298. def zipWithUniqueId(): RDD[((L, Option[R]), Long)]

    Permalink
    Definition Classes
    RDD
  299. def [B](y: B): (CassandraLeftJoinRDD[L, R], B)

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

Shadowed Implicit Value Members

  1. val sparkContext: SparkContext

    Permalink
    Implicit information
    This member is added by an implicit conversion from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])] performed by method toRDDFunctions in com.datastax.spark.connector.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (cassandraLeftJoinRDD: RDDFunctions[(L, Option[R])]).sparkContext
    Definition Classes
    RDDFunctionsWritableToCassandra

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

Inherited by implicit conversion rddToPairRDDFunctions from CassandraLeftJoinRDD[L, R] to org.apache.spark.rdd.PairRDDFunctions[L, Option[R]]

Inherited by implicit conversion numericRDDToDoubleRDDFunctions from CassandraLeftJoinRDD[L, R] to DoubleRDDFunctions

Inherited by implicit conversion rddToOrderedRDDFunctions from CassandraLeftJoinRDD[L, R] to OrderedRDDFunctions[L, Option[R], (L, Option[R])]

Inherited by implicit conversion rddToSequenceFileRDDFunctions from CassandraLeftJoinRDD[L, R] to SequenceFileRDDFunctions[L, Option[R]]

Inherited by implicit conversion rddToAsyncRDDActions from CassandraLeftJoinRDD[L, R] to AsyncRDDActions[(L, Option[R])]

Inherited by implicit conversion toPairRDDFunctions from CassandraLeftJoinRDD[L, R] to PairRDDFunctions[L, Option[R]]

Inherited by implicit conversion toRDDFunctions from CassandraLeftJoinRDD[L, R] to RDDFunctions[(L, Option[R])]

Inherited by implicit conversion any2stringadd from CassandraLeftJoinRDD[L, R] to any2stringadd[CassandraLeftJoinRDD[L, R]]

Inherited by implicit conversion StringFormat from CassandraLeftJoinRDD[L, R] to StringFormat[CassandraLeftJoinRDD[L, R]]

Inherited by implicit conversion Ensuring from CassandraLeftJoinRDD[L, R] to Ensuring[CassandraLeftJoinRDD[L, R]]

Inherited by implicit conversion ArrowAssoc from CassandraLeftJoinRDD[L, R] to ArrowAssoc[CassandraLeftJoinRDD[L, R]]

Ungrouped