Package org.apache.cassandra.locator
Class ReplicaPlan.ForRangeRead
java.lang.Object
org.apache.cassandra.locator.ReplicaPlan.AbstractReplicaPlan<E,P>
org.apache.cassandra.locator.ReplicaPlan.AbstractForRead<EndpointsForRange,ReplicaPlan.ForRangeRead>
org.apache.cassandra.locator.ReplicaPlan.ForRangeRead
- All Implemented Interfaces:
ReplicaPlan<EndpointsForRange,,ReplicaPlan.ForRangeRead> ReplicaPlan.ForRead<EndpointsForRange,ReplicaPlan.ForRangeRead>
- Direct Known Subclasses:
ReplicaPlan.ForFullRangeRead
- Enclosing interface:
- ReplicaPlan<E extends Endpoints<E>,
P extends ReplicaPlan<E, P>>
public static class ReplicaPlan.ForRangeRead
extends ReplicaPlan.AbstractForRead<EndpointsForRange,ReplicaPlan.ForRangeRead>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.locator.ReplicaPlan
ReplicaPlan.AbstractForRead<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E, P>>, ReplicaPlan.AbstractReplicaPlan<E extends Endpoints<E>, P extends ReplicaPlan<E, P>>, ReplicaPlan.ForFullRangeRead, ReplicaPlan.ForPaxosWrite, ReplicaPlan.ForRangeRead, ReplicaPlan.ForRead<E extends Endpoints<E>, P extends ReplicaPlan.ForRead<E, P>>, ReplicaPlan.ForTokenRead, ReplicaPlan.ForWrite, ReplicaPlan.Shared<E extends Endpoints<E>, P extends ReplicaPlan<E, P>>, ReplicaPlan.SharedForRangeRead, ReplicaPlan.SharedForTokenRead -
Field Summary
Fields inherited from class org.apache.cassandra.locator.ReplicaPlan.AbstractReplicaPlan
consistencyLevel, keyspace, replicationStrategy -
Constructor Summary
ConstructorsConstructorDescriptionForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount) -
Method Summary
Methods inherited from class org.apache.cassandra.locator.ReplicaPlan.AbstractForRead
firstUncontactedCandidate, lookup, readCandidates, readQuorum, toStringMethods inherited from class org.apache.cassandra.locator.ReplicaPlan.AbstractReplicaPlan
consistencyLevel, contacts, keyspace, replicationStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.locator.ReplicaPlan
consistencyLevel, contacts, keyspace, replicationStrategy
-
Constructor Details
-
ForRangeRead
public ForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount)
-
-
Method Details
-
range
-
vnodeCount
public int vnodeCount()- Returns:
- number of vnode ranges covered by the range
-
withContacts
-