RowReaderFactory and ClassTag should be provided from implicit parameters in the constructor of the class implementing this trait
RowReaderFactory and ClassTag should be provided from implicit parameters in the constructor of the class implementing this trait
CassandraTableScanRDD
Filters currently selected set of columns with a new set of columns
Returns the names of columns to be selected from the table.
Checks for existence of keyspace, table, columns and whether the number of selected columns corresponds to the number of the columns expected by the target type constructor.
Checks for existence of keyspace, table, columns and whether the number of selected columns
corresponds to the number of the columns expected by the target type constructor.
If successful, does nothing, otherwise throws appropriate IOException
or AssertionError
.
Used to get a RowReader of type [R] for transforming the rows of a particular Cassandra table into scala objects. Performs necessary checking of the schema and output class to make sure they are compatible.
CassandraJoinRDD
CassandraTableScanRDD