Provides Cassandra-specific methods on org.apache.spark.sql.DataFrame
Provides Cassandra-specific methods on RDD
Provides Cassandra-specific methods on SparkContext
Contains a cql.CassandraConnector object which is used to connect to a Cassandra cluster and to send CQL statements to it.
Contains a cql.CassandraConnector object which is used to connect
to a Cassandra cluster and to send CQL statements to it. CassandraConnector
provides a Scala-idiomatic way of working with Session
object
and takes care of connection pooling and proper resource disposal.
Contains com.datastax.spark.connector.rdd.CassandraTableScanRDD class that is the main entry point for analyzing Cassandra data from Spark.
Useful stuff that didn't fit elsewhere.
Contains components for writing RDDs to Cassandra
The root package of Cassandra connector for Apache Spark. Offers handy implicit conversions that add Cassandra-specific methods to SparkContext and RDD.
Call cassandraTable method on the SparkContext object to create a CassandraRDD exposing Cassandra tables as Spark RDDs.
Call RDDFunctions
saveToCassandra
function on anyRDD
to save distributed collection to a Cassandra table.Example: