A special structure for fast lookup of rangesContaining containing given point.
Metadata describing Cassandra table partition processed by a single Spark task.
RDD created by repartitionByCassandraReplica with preferred locations mapping to the CassandraReplicas each partition was created for.
Stores a CQL WHERE
predicate matching a range of tokens.
Estimates amount of data in the Cassandra table.
A mapping from T values to an integer range [0, n), such that for any (t1: T) > (t2: T), bucket(t1) >= bucket(t2).
Fast token range splitter assuming that data are spread out evenly in the whole range.
Looks up listen address of a cluster node given its RPC address.
Fast token range splitter assuming that data are spread out evenly in the whole range.
Extracts rangeBounds of a range R.
The replica partitioner will work on an RDD which is keyed on sets of InetAddresses representing Cassandra Hosts .
Divides a set of token rangesContaining into groups containing not more than maxRowCountPerGroup
rows
and not more than maxGroupSize
token rangesContaining.
Splits a token range into smaller sub-ranges, each with the desired approximate number of rows.
Holds a token range together with the index of a partition this token range belongs to
Provides components for partitioning a Cassandra table into smaller parts of appropriate size. Each partition can be processed locally on at least one cluster node.