|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Range in org.apache.cassandra.client |
---|
Methods in org.apache.cassandra.client that return Range | |
---|---|
Range |
RingCache.getRange(java.nio.ByteBuffer key)
|
Methods in org.apache.cassandra.client with parameters of type Range | |
---|---|
java.util.List<java.net.InetAddress> |
RingCache.getEndpoint(Range range)
ListMultimap promises to return a List for get(K) |
Uses of Range in org.apache.cassandra.db |
---|
Methods in org.apache.cassandra.db with parameters of type Range | |
---|---|
java.lang.Iterable<DecoratedKey> |
ColumnFamilyStore.keySamples(Range range)
|
Uses of Range in org.apache.cassandra.dht |
---|
Methods in org.apache.cassandra.dht that return types with arguments of type Range | |
---|---|
java.util.Set<Range> |
Range.differenceToFetch(Range rhs)
Calculate set of the difference ranges of given two ranges (as current (A, B] and rhs is (C, D]) which node will need to fetch when moving to a given new token |
static com.google.common.collect.Multimap<java.net.InetAddress,Range> |
BootStrapper.getWorkMap(com.google.common.collect.Multimap<Range,java.net.InetAddress> rangesWithSourceTarget)
|
java.util.Set<Range> |
Range.intersectionWith(Range that)
|
static java.util.Set<Range> |
Range.rangeSet(Range... ranges)
|
Methods in org.apache.cassandra.dht with parameters of type Range | |
---|---|
int |
Range.compareTo(Range rhs)
|
boolean |
Range.contains(Range that)
|
java.util.Set<Range> |
Range.differenceToFetch(Range rhs)
Calculate set of the difference ranges of given two ranges (as current (A, B] and rhs is (C, D]) which node will need to fetch when moving to a given new token |
java.util.Set<Range> |
Range.intersectionWith(Range that)
|
boolean |
Range.intersects(Range that)
|
static java.util.Set<Range> |
Range.rangeSet(Range... ranges)
|
Method parameters in org.apache.cassandra.dht with type arguments of type Range | |
---|---|
static com.google.common.collect.Multimap<java.net.InetAddress,Range> |
BootStrapper.getWorkMap(com.google.common.collect.Multimap<Range,java.net.InetAddress> rangesWithSourceTarget)
|
static boolean |
Range.isTokenInRanges(Token token,
java.lang.Iterable<Range> ranges)
|
Uses of Range in org.apache.cassandra.io.sstable |
---|
Methods in org.apache.cassandra.io.sstable that return types with arguments of type Range | |
---|---|
java.util.Map<java.net.InetAddress,java.util.Collection<Range>> |
SSTableLoader.Client.getEndpointToRangesMap()
|
Methods in org.apache.cassandra.io.sstable with parameters of type Range | |
---|---|
protected void |
SSTableLoader.Client.addRangeForEndpoint(Range range,
java.net.InetAddress endpoint)
|
SSTableScanner |
SSTableReader.getDirectScanner(Range range)
Direct I/O SSTableScanner over a defined range of tokens. |
java.lang.Iterable<DecoratedKey> |
SSTableReader.getKeySamples(Range range)
|
Method parameters in org.apache.cassandra.io.sstable with type arguments of type Range | |
---|---|
long |
SSTableReader.estimatedKeysForRanges(java.util.Collection<Range> ranges)
|
java.util.List<Pair<java.lang.Long,java.lang.Long>> |
SSTableReader.getPositionsForRanges(java.util.Collection<Range> ranges)
Determine the minimal set of sections that can be extracted from this SSTable to cover the given ranges. |
Uses of Range in org.apache.cassandra.locator |
---|
Methods in org.apache.cassandra.locator that return Range | |
---|---|
Range |
TokenMetadata.getPrimaryRangeFor(Token right)
|
Methods in org.apache.cassandra.locator that return types with arguments of type Range | |
---|---|
com.google.common.collect.Multimap<java.net.InetAddress,Range> |
AbstractReplicationStrategy.getAddressRanges()
|
com.google.common.collect.Multimap<java.net.InetAddress,Range> |
AbstractReplicationStrategy.getAddressRanges(TokenMetadata metadata)
|
java.util.Collection<Range> |
AbstractReplicationStrategy.getPendingAddressRanges(TokenMetadata metadata,
Token pendingToken,
java.net.InetAddress pendingAddress)
|
java.util.Map<Range,java.util.Collection<java.net.InetAddress>> |
TokenMetadata.getPendingRanges(java.lang.String table)
a mutable map may be returned but caller should not modify it |
java.util.List<Range> |
TokenMetadata.getPendingRanges(java.lang.String table,
java.net.InetAddress endpoint)
|
com.google.common.collect.Multimap<Range,java.net.InetAddress> |
AbstractReplicationStrategy.getRangeAddresses(TokenMetadata metadata)
|
Method parameters in org.apache.cassandra.locator with type arguments of type Range | |
---|---|
void |
TokenMetadata.setPendingRanges(java.lang.String table,
com.google.common.collect.Multimap<Range,java.net.InetAddress> rangeMap)
|
Uses of Range in org.apache.cassandra.service |
---|
Fields in org.apache.cassandra.service declared as Range | |
---|---|
Range |
AntiEntropyService.TreeRequest.range
|
Methods in org.apache.cassandra.service that return Range | |
---|---|
Range |
StorageService.getLocalPrimaryRange()
|
Range |
StorageService.getPrimaryRangeForEndpoint(java.net.InetAddress ep)
Get the primary range for the specified endpoint. |
Methods in org.apache.cassandra.service that return types with arguments of type Range | |
---|---|
java.util.List<Range> |
StorageService.getAllRanges(java.util.List<Token> sortedTokens)
Get all ranges that span the ring given a set of tokens. |
java.util.Collection<Range> |
StorageService.getLocalRanges(java.lang.String table)
|
java.util.Map<Range,java.util.List<java.lang.String>> |
StorageService.getPendingRangeToEndpointMap(java.lang.String keyspace)
|
java.util.Map<Range,java.util.List<java.lang.String>> |
StorageServiceMBean.getPendingRangeToEndpointMap(java.lang.String keyspace)
Retrieve a map of pending ranges to endpoints that describe the ring topology |
java.util.Map<Range,java.util.List<java.net.InetAddress>> |
StorageService.getRangeToAddressMap(java.lang.String keyspace)
|
java.util.Map<Range,java.util.List<java.lang.String>> |
StorageService.getRangeToEndpointMap(java.lang.String keyspace)
for a keyspace, return the ranges and corresponding listen addresses. |
java.util.Map<Range,java.util.List<java.lang.String>> |
StorageServiceMBean.getRangeToEndpointMap(java.lang.String keyspace)
Retrieve a map of range to end points that describe the ring topology of a Cassandra cluster. |
java.util.Map<Range,java.util.List<java.lang.String>> |
StorageService.getRangeToRpcaddressMap(java.lang.String keyspace)
for a keyspace, return the ranges and corresponding RPC addresses for a given keyspace. |
java.util.Map<Range,java.util.List<java.lang.String>> |
StorageServiceMBean.getRangeToRpcaddressMap(java.lang.String keyspace)
Retrieve a map of range to rpc addresses that describe the ring topology of a Cassandra cluster. |
Methods in org.apache.cassandra.service with parameters of type Range | |
---|---|
AntiEntropyService.RepairFuture |
StorageService.forceTableRepair(Range range,
java.lang.String tableName,
java.lang.String... columnFamilies)
|
java.util.List<Token> |
StorageService.getSplits(java.lang.String table,
java.lang.String cfName,
Range range,
int keysPerSplit)
|
AntiEntropyService.RepairFuture |
AntiEntropyService.submitRepairSession(Range range,
java.lang.String tablename,
java.lang.String... cfnames)
Requests repairs for the given table and column families, and blocks until all repairs have been completed. |
Constructors in org.apache.cassandra.service with parameters of type Range | |
---|---|
AntiEntropyService.TreeRequest(java.lang.String sessionid,
java.net.InetAddress endpoint,
Range range,
org.apache.cassandra.service.AntiEntropyService.CFPair cf)
|
Uses of Range in org.apache.cassandra.streaming |
---|
Method parameters in org.apache.cassandra.streaming with type arguments of type Range | |
---|---|
static StreamingRepairTask |
StreamingRepairTask.create(java.net.InetAddress ep1,
java.net.InetAddress ep2,
java.lang.String tableName,
java.lang.String cfName,
java.util.Collection<Range> ranges,
java.lang.Runnable callback)
|
static void |
StreamIn.requestRanges(java.net.InetAddress source,
java.lang.String tableName,
java.util.Collection<ColumnFamilyStore> columnFamilies,
java.util.Collection<Range> ranges,
java.lang.Runnable callback,
OperationType type)
Request ranges to be transferred from specific CFs |
static void |
StreamIn.requestRanges(java.net.InetAddress source,
java.lang.String tableName,
java.util.Collection<Range> ranges,
java.lang.Runnable callback,
OperationType type)
Request ranges for all column families in the given keyspace. |
static void |
StreamOut.transferRanges(java.net.InetAddress target,
Table table,
java.util.Collection<Range> ranges,
java.lang.Runnable callback,
OperationType type)
Stream the given ranges to the target endpoint from each CF in the given keyspace. |
static void |
StreamOut.transferRanges(StreamOutSession session,
java.lang.Iterable<ColumnFamilyStore> cfses,
java.util.Collection<Range> ranges,
OperationType type)
Stream the given ranges to the target endpoint from each of the given CFs. |
static void |
StreamOut.transferSSTables(StreamOutSession session,
java.lang.Iterable<SSTableReader> sstables,
java.util.Collection<Range> ranges,
OperationType type)
Low-level transfer of matching portions of a group of sstables from a single table to the target endpoint. |
Uses of Range in org.apache.cassandra.utils |
---|
Subclasses of Range in org.apache.cassandra.utils | |
---|---|
static class |
MerkleTree.TreeRange
The public interface to a range in the tree. |
Fields in org.apache.cassandra.utils declared as Range | |
---|---|
Range |
MerkleTree.fullRange
The top level range that this MerkleTree covers. |
Methods in org.apache.cassandra.utils with parameters of type Range | |
---|---|
byte[] |
MerkleTree.hash(Range range)
Hash the given range in the tree. |
static void |
FBUtilities.sortSampledKeys(java.util.List<DecoratedKey> keys,
Range range)
|
Constructors in org.apache.cassandra.utils with parameters of type Range | |
---|---|
MerkleTree(IPartitioner partitioner,
Range range,
byte hashdepth,
long maxsize)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |