The number of Spark Partitions to make Per Unique Endpoint
Given a set of endpoints, pick a random endpoint, and then a random partition owned by that endpoint.
Given a set of endpoints, pick a random endpoint, and then a random partition owned by that endpoint. If the requested host doesn't exist chose another random host. Only uses valid hosts from the connected datacenter.
A Set[InetAddress] of replicas for this Cassandra Partition
An integer between 0 and numPartitions
(replicaPartitioner: StringAdd).self
(replicaPartitioner: StringFormat).self
(replicaPartitioner: ArrowAssoc[ReplicaPartitioner]).x
(Since version 2.10.0) Use leftOfArrow
instead
(replicaPartitioner: Ensuring[ReplicaPartitioner]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
The replica partitioner will work on an RDD which is keyed on sets of InetAddresses representing Cassandra Hosts . It will group keys which share a common IP address into partitionsPerReplicaSet Partitions.