Executes SQL query against Cassandra and returns SchemaRDD representing the result.
A catalyst metadata catalog that points to Cassandra.
A catalyst metadata catalog that points to Cassandra.
Returns keyspace set previously by setKeyspace or throws IllegalStateException if keyspace has not been set yet.
Modified Catalyst planner that does Cassandra-specific predicate pushdown
Modified Catalyst planner that does Cassandra-specific predicate pushdown
Sets default Cassandra keyspace to be used when accessing tables with unqualified names.
Delegates to cassandraSql
Delegates to cassandraSql
(cassandraSQLContext: StringAdd).self
(cassandraSQLContext: StringFormat).self
(cassandraSQLContext: ArrowAssoc[CassandraSQLContext]).x
(Since version 2.10.0) Use leftOfArrow
instead
(cassandraSQLContext: Ensuring[CassandraSQLContext]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Allows to execute SQL queries against Cassandra and access results as org.apache.spark.sql.SchemaRDD collections. Predicate pushdown to Cassandra is supported.
Example: