Class

com.github.jparkie.spark.cassandra.sql

SparkCassDataFrameFunctions

Related Doc: package sql

Permalink

class SparkCassDataFrameFunctions extends Serializable

Extension of Dataset[T] with bulkLoadToCass() function.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkCassDataFrameFunctions
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkCassDataFrameFunctions(dataFrame: Dataset[Row])

    Permalink

    dataFrame

    The Dataset[T] to lift into extension.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. def bulkLoadToCass(keyspaceName: String, tableName: String, columns: ColumnSelector = AllColumns, sparkCassWriteConf: SparkCassWriteConf = ..., sparkCassServerConf: SparkCassServerConf = ...)(implicit connector: CassandraConnector = ..., rwf: RowWriterFactory[Row] = SqlRowWriter.Factory): Unit

    Permalink

    Loads the data from Dataset[T] to a Cassandra table.

    Loads the data from Dataset[T] to a Cassandra table. Uses the specified column names.

    Writes SSTables to a temporary directory then loads the SSTables directly to Cassandra.

    keyspaceName

    The name of the Keyspace to use.

    tableName

    The name of the Table to use.

    columns

    The list of column names to save data to. Uses only the unique column names, and you must select all primary key columns. All other fields are discarded. Non-selected property/column names are left unchanged.

    sparkCassWriteConf

    Configurations to coordinate and to limit writes.

    sparkCassServerConf

    Configurations to connect to Cassandra Transport Layer.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped