Uses of Class
org.apache.cassandra.locator.ReplicaPlan.ForRangeRead
Packages that use ReplicaPlan.ForRangeRead
-
Uses of ReplicaPlan.ForRangeRead in org.apache.cassandra.locator
Subclasses of ReplicaPlan.ForRangeRead in org.apache.cassandra.locatorMethods in org.apache.cassandra.locator that return ReplicaPlan.ForRangeReadModifier and TypeMethodDescriptionstatic ReplicaPlan.ForRangeReadReplicaPlans.forFullRangeRead(Keyspace keyspace, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, Set<InetAddressAndPort> endpointsToContact, int vnodeCount) Construct a plan for reading the provided range at the provided consistency level on given endpoints.static ReplicaPlan.ForRangeReadReplicaPlans.forRangeRead(Keyspace keyspace, Index.QueryPlan indexQueryPlan, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, int vnodeCount) Construct a plan for reading the provided range at the provided consistency level.static ReplicaPlan.ForRangeReadReplicaPlans.forSingleReplicaRead(Keyspace keyspace, AbstractBounds<PartitionPosition> range, Replica replica, int vnodeCount) Construct a plan for reading from a single node - this permits no speculation or read-repairReplicaPlan.SharedForRangeRead.get()static ReplicaPlan.ForRangeReadReplicaPlans.maybeMerge(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaPlan.ForRangeRead left, ReplicaPlan.ForRangeRead right) Take two range read plans for adjacent ranges, and check if it is OK (and worthwhile) to combine them into a single planReplicaPlan.ForRangeRead.withContacts(EndpointsForRange newContact) Methods in org.apache.cassandra.locator with parameters of type ReplicaPlan.ForRangeReadModifier and TypeMethodDescriptionstatic ReplicaPlan.ForRangeReadReplicaPlans.maybeMerge(Keyspace keyspace, ConsistencyLevel consistencyLevel, ReplicaPlan.ForRangeRead left, ReplicaPlan.ForRangeRead right) Take two range read plans for adjacent ranges, and check if it is OK (and worthwhile) to combine them into a single planReplicaPlan.shared(ReplicaPlan.ForRangeRead replicaPlan)