|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RingPosition | |
|---|---|
| org.apache.cassandra.db | |
| org.apache.cassandra.dht | |
| org.apache.cassandra.locator | |
| org.apache.cassandra.service | |
| Uses of RingPosition in org.apache.cassandra.db |
|---|
| Classes in org.apache.cassandra.db that implement RingPosition | |
|---|---|
class |
DecoratedKey
Represents a decorated key, handy for certain operations where just working with strings gets slow. |
class |
RowPosition
|
| Uses of RingPosition in org.apache.cassandra.dht |
|---|
| Classes in org.apache.cassandra.dht with type parameters of type RingPosition | |
|---|---|
class |
AbstractBounds<T extends RingPosition>
|
class |
Bounds<T extends RingPosition>
AbstractBounds containing both its endpoints: [left, right]. |
class |
ExcludingBounds<T extends RingPosition>
AbstractBounds containing neither of its endpoints: (left, right). |
class |
IncludingExcludingBounds<T extends RingPosition>
AbstractBounds containing only its left endpoint: [left, right). |
class |
Range<T extends RingPosition>
A representation of the range that a node is responsible for on the DHT ring. |
| Classes in org.apache.cassandra.dht that implement RingPosition | |
|---|---|
class |
BigIntegerToken
|
class |
BytesToken
|
class |
LocalToken
|
class |
LongToken
|
class |
StringToken
|
class |
Token<T>
|
static class |
Token.KeyBound
|
| Fields in org.apache.cassandra.dht declared as RingPosition | |
|---|---|
T |
AbstractBounds.left
|
T |
AbstractBounds.right
|
| Methods in org.apache.cassandra.dht with type parameters of type RingPosition | ||
|---|---|---|
static
|
Range.contains(T left,
T right,
T point)
|
|
static
|
Range.isInRanges(T token,
java.lang.Iterable<Range<T>> ranges)
|
|
static
|
Range.isWrapAround(T left,
T right)
Tells if the given range is a wrap around. |
|
|
AbstractPartitioner.minValue(java.lang.Class<R> klass)
|
|
|
IPartitioner.minValue(java.lang.Class<R> klass)
|
|
static
|
Range.normalize(java.util.Collection<Range<T>> ranges)
|
|
static
|
Range.rangeSet(Range<T>... ranges)
|
|
static
|
Range.rangeSet(Range<T> range)
|
|
|
Token.upperBound(java.lang.Class<R> klass)
|
|
| Uses of RingPosition in org.apache.cassandra.locator |
|---|
| Methods in org.apache.cassandra.locator with parameters of type RingPosition | |
|---|---|
java.util.ArrayList<java.net.InetAddress> |
AbstractReplicationStrategy.getNaturalEndpoints(RingPosition searchPosition)
get the (possibly cached) endpoints that should store the given Token. |
java.util.ArrayList<java.net.InetAddress> |
LocalStrategy.getNaturalEndpoints(RingPosition searchPosition)
We need to override this even if we override calculateNaturalEndpoints, because the default implementation depends on token calculations but LocalStrategy may be used before tokens are set up. |
| Uses of RingPosition in org.apache.cassandra.service |
|---|
| Methods in org.apache.cassandra.service with parameters of type RingPosition | |
|---|---|
java.util.List<java.net.InetAddress> |
StorageService.getLiveNaturalEndpoints(java.lang.String table,
RingPosition pos)
|
java.util.List<java.net.InetAddress> |
StorageService.getNaturalEndpoints(java.lang.String table,
RingPosition pos)
This method returns the N endpoints that are responsible for storing the specified key i.e for replication. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||