Represents a single row fetched from Cassandra.
Insert behaviors for Collections.
References a collection column by name with insert instructions
References a column by name.
Thrown when the requested column does not exist in the result set.
A column that can be selected from CQL results set by name.
Provides Cassandra-specific methods on RDD
Provides Cassandra-specific methods on SparkContext
References TTL of a column.
References write time of a column.
References a row count value returned from SELECT count(*)
Contains a cql.CassandraConnector object which is used to connect to a Cassandra cluster and to send CQL statements to it.
Provides machinery for mapping Cassandra tables to user defined Scala classes or tuples.
Contains com.datastax.spark.connector.rdd.CassandraTableScanRDD class that is the main entry point for analyzing Cassandra data from Spark.
Offers type conversion magic, so you can receive Cassandra column values in a form you like the most.
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: