com.datastax.spark.connector.japi

RDDJavaFunctions

Related Doc: package japi

class RDDJavaFunctions[T] extends RDDAndDStreamCommonJavaFunctions[T]

A Java API wrapper over org.apache.spark.rdd.RDD to provide Spark Cassandra Connector functionality.

To obtain an instance of this wrapper, use one of the factory methods in com.datastax.spark.connector.japi.CassandraJavaUtil class.<

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RDDJavaFunctions
  2. RDDAndDStreamCommonJavaFunctions
  3. AnyRef
  4. 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 RDDJavaFunctions(rdd: RDD[T])

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 RDDJavaFunctions[T] to any2stringadd[RDDJavaFunctions[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RDDJavaFunctions[T], B)

    Implicit information
    This member is added by an implicit conversion from RDDJavaFunctions[T] to ArrowAssoc[RDDJavaFunctions[T]] 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: (RDDJavaFunctions[T]) ⇒ Boolean, msg: ⇒ Any): RDDJavaFunctions[T]

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

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

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

    Implicit information
    This member is added by an implicit conversion from RDDJavaFunctions[T] to Ensuring[RDDJavaFunctions[T]] 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 RDDJavaFunctions[T] to StringFormat[RDDJavaFunctions[T]] 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[T]

  26. def saveToCassandra(keyspace: String, table: String, rowWriterFactory: RowWriterFactory[T], columnNames: ColumnSelector, conf: WriteConf, connector: CassandraConnector): Unit

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

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

    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.

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

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

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

  35. def [B](y: B): (RDDJavaFunctions[T], B)

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RDDJavaFunctions[T] to any2stringadd[RDDJavaFunctions[T]]

Inherited by implicit conversion StringFormat from RDDJavaFunctions[T] to StringFormat[RDDJavaFunctions[T]]

Inherited by implicit conversion Ensuring from RDDJavaFunctions[T] to Ensuring[RDDJavaFunctions[T]]

Inherited by implicit conversion ArrowAssoc from RDDJavaFunctions[T] to ArrowAssoc[RDDJavaFunctions[T]]

Ungrouped