com.datastax.spark.connector.japi

PairRDDJavaFunctions

Related Doc: package japi

class PairRDDJavaFunctions[K, V] extends RDDJavaFunctions[(K, V)]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PairRDDJavaFunctions
  2. RDDJavaFunctions
  3. RDDAndDStreamCommonJavaFunctions
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PairRDDJavaFunctions(rdd: RDD[(K, V)])(implicit arg0: ClassTag[K])

Type Members

  1. class WriterBuilder extends Serializable

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def defaultConnector(): CassandraConnector

  9. def defaultWriteConf(): WriteConf

  10. def ensuring(cond: (PairRDDJavaFunctions[K, V]) ⇒ Boolean, msg: ⇒ Any): PairRDDJavaFunctions[K, V]

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

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

    Implicit information
    This member is added by an implicit conversion from PairRDDJavaFunctions[K, V] to Ensuring[PairRDDJavaFunctions[K, V]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): PairRDDJavaFunctions[K, V]

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  19. def getConf(): SparkConf

  20. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val rdd: RDD[(K, V)]

    Definition Classes
    RDDJavaFunctions
  26. def saveToCassandra(keyspace: String, table: String, rowWriterFactory: RowWriterFactory[(K, V)], columnNames: ColumnSelector, conf: WriteConf, connector: CassandraConnector): Unit

  27. def saveToCassandra(keyspace: String, table: String, rowWriterFactory: RowWriterFactory[(K, V)], columnNames: ColumnSelector): Unit

  28. def spanBy[U](f: Function[(K, V), U])(implicit arg0: ClassTag[U]): JavaPairRDD[U, Iterable[(K, V)]]

    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.

    Definition Classes
    RDDJavaFunctions
  29. def spanByKey(): JavaPairRDD[K, Iterable[V]]

    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.

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

    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def writerBuilder(keyspaceName: String, tableName: String, rowWriterFactory: RowWriterFactory[(K, V)]): WriterBuilder

  36. def [B](y: B): (PairRDDJavaFunctions[K, V], B)

    Implicit information
    This member is added by an implicit conversion from PairRDDJavaFunctions[K, V] to ArrowAssoc[PairRDDJavaFunctions[K, V]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from RDDJavaFunctions[(K, V)]

Inherited from RDDAndDStreamCommonJavaFunctions[(K, V)]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from PairRDDJavaFunctions[K, V] to any2stringadd[PairRDDJavaFunctions[K, V]]

Inherited by implicit conversion StringFormat from PairRDDJavaFunctions[K, V] to StringFormat[PairRDDJavaFunctions[K, V]]

Inherited by implicit conversion Ensuring from PairRDDJavaFunctions[K, V] to Ensuring[PairRDDJavaFunctions[K, V]]

Inherited by implicit conversion ArrowAssoc from PairRDDJavaFunctions[K, V] to ArrowAssoc[PairRDDJavaFunctions[K, V]]

Ungrouped