com.datastax.spark.connector.rdd.partitioner
Affects how many concurrent threads are used to fetch split information from cassandra nodes, in getPartitions
.
Affects how many concurrent threads are used to fetch split information from cassandra nodes, in getPartitions
.
Does not affect how many Spark threads fetch data from Cassandra.
How many token ranges to sample in order to estimate average number of rows per token
Creates a CassandraRDDPartitioner
for the given cluster and table.
Creates a CassandraRDDPartitioner
for the given cluster and table.
Unlike the class constructor, this method does not take the generic V
and T
parameters,
and therefore you don't need to specify the ones proper for the partitioner used in the
Cassandra cluster.