Uses of Class
org.apache.cassandra.dht.Range
Packages that use Range
Package
Description
-
Uses of Range in org.apache.cassandra.db
Fields in org.apache.cassandra.db with type parameters of type RangeModifier and TypeFieldDescriptionSystemKeyspace.AvailableRanges.fullSystemKeyspace.AvailableRanges.transMethods in org.apache.cassandra.db that return types with arguments of type RangeModifier and TypeMethodDescriptionstatic Map<InetAddressAndPort,Set<Range<Token>>> SystemKeyspace.getTransferredRanges(String description, String keyspace, IPartitioner partitioner) SystemKeyspace.getViewBuildStatus(String ksname, String viewName) SystemKeyspace.rawRangesToRangeSet(Set<ByteBuffer> rawRanges, IPartitioner partitioner) Methods in org.apache.cassandra.db with parameters of type RangeModifier and TypeMethodDescriptionlongColumnFamilyStore.estimatedKeysForRange(Range<Token> range) static DataRangeDataRange.forKeyRange(Range<PartitionPosition> keyRange) Creates aDataRangeto query all rows over the provided key range.static DataRangeDataRange.forTokenRange(Range<Token> tokenRange) Creates aDataRangeto query all rows over the provided token range.ColumnFamilyStore.keySamples(Range<Token> range) static ByteBufferSystemKeyspace.rangeToBytes(Range<Token> range) static voidSystemKeyspace.updateViewBuildStatus(String ksname, String viewName, Range<Token> range, Token lastToken, long keysBuilt) Method parameters in org.apache.cassandra.db with type arguments of type RangeModifier and TypeMethodDescriptionvoidColumnFamilyStore.forceCompactionForTokenRange(Collection<Range<Token>> tokenRanges) voidColumnFamilyStoreMBean.forceCompactionForTokenRange(Collection<Range<Token>> tokenRanges) Deprecated.See CASSANDRA-17527ColumnFamilyStore.getPaxosRepairHistoryForRanges(Collection<Range<Token>> ranges) voidColumnFamilyStore.onPaxosRepairComplete(Collection<Range<Token>> ranges, Ballot highBallot) static voidSystemKeyspace.updateAvailableRanges(String keyspace, Collection<Range<Token>> completedFullRanges, Collection<Range<Token>> completedTransientRanges) static voidSystemKeyspace.updateSizeEstimates(String keyspace, String table, Map<Range<Token>, Pair<Long, Long>> estimates) Writes the current partition count and size estimates into SIZE_ESTIMATES_CFstatic voidSystemKeyspace.updateTableEstimates(String keyspace, String table, String type, Map<Range<Token>, Pair<Long, Long>> estimates) Writes the current partition count and size estimates into table_estimatesstatic voidSystemKeyspace.updateTransferredRanges(StreamOperation streamOperation, InetAddressAndPort peer, String keyspace, Collection<Range<Token>> streamedRanges) voidColumnFamilyStore.writeAndAddMemtableRanges(TimeUUID repairSessionID, Supplier<Collection<Range<PartitionPosition>>> rangesSupplier, Refs<SSTableReader> placeIntoRefs) -
Uses of Range in org.apache.cassandra.db.compaction
Methods in org.apache.cassandra.db.compaction that return RangeModifier and TypeMethodDescriptionShardManager.coveringRange(PartitionPosition first, PartitionPosition last) ShardManager.coveringRange(SSTableReader sstable) ShardManagerDiskAware.BoundaryTrackerDiskAware.shardSpan()ShardManagerNoDisks.BoundaryTracker.shardSpan()ShardTracker.shardSpan()Methods in org.apache.cassandra.db.compaction with parameters of type RangeModifier and TypeMethodDescriptiondoubleShardManagerDiskAware.BoundaryTrackerDiskAware.fractionInShard(Range<Token> targetSpan) Returns the fraction of the given token range's coverage that falls within this shard.doubleShardManagerNoDisks.BoundaryTracker.fractionInShard(Range<Token> targetSpan) doubleShardTracker.fractionInShard(Range<Token> targetSpan) Returns the fraction of the given token range's coverage that falls within this shard.AbstractCompactionStrategy.getScanners(Collection<SSTableReader> sstables, Range<Token> range) doubleShardManager.rangeSpanned(Range<Token> tableRange) The token range fraction spanned by the given range, adjusted for the local range ownership.doubleShardManagerNoDisks.rangeSpanned(Range<Token> tableRange) doubleShardManagerTrivial.rangeSpanned(Range<Token> tableRange) Method parameters in org.apache.cassandra.db.compaction with type arguments of type RangeModifier and TypeMethodDescriptionvoidCompactionManager.forceCompactionForTokenRange(ColumnFamilyStore cfStore, Collection<Range<Token>> ranges) Forces a major compaction of specified token ranges of the specified column family.abstract List<ISSTableScanner>AbstractStrategyHolder.getScanners(AbstractStrategyHolder.GroupedSSTableContainer sstables, Collection<Range<Token>> ranges) CompactionStrategyHolder.getScanners(AbstractStrategyHolder.GroupedSSTableContainer sstables, Collection<Range<Token>> ranges) PendingRepairHolder.getScanners(AbstractStrategyHolder.GroupedSSTableContainer sstables, Collection<Range<Token>> ranges) static booleanCompactionManager.needsCleanup(SSTableReader sstable, Collection<Range<Token>> ownedRanges) Determines if a cleanup would actually remove any data in this SSTable based on a set of owned ranges. -
Uses of Range in org.apache.cassandra.db.repair
Methods in org.apache.cassandra.db.repair that return types with arguments of type RangeMethod parameters in org.apache.cassandra.db.repair with type arguments of type RangeModifier and TypeMethodDescriptionPendingAntiCompaction.getAcquisitionCallable(ColumnFamilyStore cfs, Set<Range<Token>> ranges, TimeUUID prsId, int acquireRetrySeconds, int acquireSleepMillis) static Refs<SSTableReader>CassandraValidationIterator.getSSTablesToValidate(ColumnFamilyStore cfs, SharedContext ctx, Collection<Range<Token>> ranges, TimeUUID parentId, boolean isIncremental) CassandraTableRepairManager.getValidationIterator(Collection<Range<Token>> ranges, TimeUUID parentId, TimeUUID sessionID, boolean isIncremental, long nowInSec, TopPartitionTracker.Collector topPartitionCollector) voidCassandraTableRepairManager.snapshot(String name, Collection<Range<Token>> ranges, boolean force) Constructor parameters in org.apache.cassandra.db.repair with type arguments of type RangeModifierConstructorDescriptionAcquisitionCallable(ColumnFamilyStore cfs, Collection<Range<Token>> ranges, TimeUUID sessionID, int acquireRetrySeconds, int acquireSleepMillis) CassandraValidationIterator(ColumnFamilyStore cfs, SharedContext ctx, Collection<Range<Token>> ranges, TimeUUID parentId, TimeUUID sessionID, boolean isIncremental, long nowInSec, TopPartitionTracker.Collector topPartitionCollector) -
Uses of Range in org.apache.cassandra.db.view
Constructors in org.apache.cassandra.db.view with parameters of type RangeModifierConstructorDescriptionViewBuilderTask(ColumnFamilyStore baseCfs, View view, Range<Token> range, Token lastToken, long keysBuilt) -
Uses of Range in org.apache.cassandra.dht
Methods in org.apache.cassandra.dht that return RangeModifier and TypeMethodDescriptionRange.intersectionNonWrapping(Range<T> that) Returns the intersection of this range with the provided one, assuming neither are wrapping.static Range<PartitionPosition>Range.makeRowRange(Range<Token> tokenBounds) static Range<PartitionPosition>Range.makeRowRange(Token left, Token right) Compute a range of keys corresponding to a given range of token.Splitter.WeightedRange.range()Methods in org.apache.cassandra.dht that return types with arguments of type RangeModifier and TypeMethodDescriptionstatic <T extends RingPosition<T>>
List<Range<T>>Given a list of unwrapped ranges sorted by left position, return an equivalent list of ranges but with no overlapping ranges.Range.differenceToFetch(Range<T> 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 tokencom.google.common.collect.Multimap<InetAddressAndPort,Range<Token>> RangeFetchMapCalculator.getRangeFetchMap()static <T extends RingPosition<T>>
List<Range<T>>Range.intersect(Collection<Range<T>> ranges1, Collection<Range<T>> ranges2) Range.intersectionWith(Range<T> that) static <T extends RingPosition<T>>
List<Range<T>>Range.normalize(Collection<Range<T>> ranges) static <T extends RingPosition<T>>
Set<Range<T>>static <T extends RingPosition<T>>
Set<Range<T>>static <T extends RingPosition<T>>
List<Range<T>>Range.sort(Collection<Range<T>> ranges) Splitter.split(Collection<Range<Token>> ranges, int parts) Splits the specified token ranges in at leastpartssubranges.static <T extends RingPosition<T>>
Set<Range<T>>Range.subtract(Collection<Range<T>> ranges, Collection<Range<T>> subtract) Range.subtractAll(Collection<Range<T>> ranges) Range.unwrap()Methods in org.apache.cassandra.dht with parameters of type RangeModifier and TypeMethodDescriptionintNote: this class has a natural ordering that is inconsistent with equalsbooleanRange.differenceToFetch(Range<T> 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 tokenprotected BigIntegerSplitter.elapsedTokens(Token token, Range<Token> range) Computes the number of elapsed tokens from the range start until this tokenRange.intersectionNonWrapping(Range<T> that) Returns the intersection of this range with the provided one, assuming neither are wrapping.Range.intersectionWith(Range<T> that) booleanRange.intersects(Range<T> that) static Range<PartitionPosition>Range.makeRowRange(Range<Token> tokenBounds) doubleSplitter.positionInRange(Token token, Range<Token> range) Computes the normalized position of this token relative to this rangestatic <T extends RingPosition<T>>
Set<Range<T>>static <T extends RingPosition<T>>
Set<Range<T>>protected BigIntegerSplitter.tokensInRange(Range<Token> range) Method parameters in org.apache.cassandra.dht with type arguments of type RangeModifier and TypeMethodDescriptionstatic <T extends RingPosition<T>>
voidRange.assertNormalized(List<Range<T>> ranges) static <T extends RingPosition<T>>
List<Range<T>>Given a list of unwrapped ranges sorted by left position, return an equivalent list of ranges but with no overlapping ranges.static <T extends RingPosition<T>>
List<Range<T>>Range.intersect(Collection<Range<T>> ranges1, Collection<Range<T>> ranges2) booleanAbstractBounds.intersects(Iterable<Range<T>> ranges) return true if @param range intersects any of the given @param rangesstatic booleanstatic <T extends RingPosition<T>>
booleanRange.isInRanges(T token, Iterable<Range<T>> ranges) static <T extends RingPosition<T>>
List<Range<T>>Range.normalize(Collection<Range<T>> ranges) static <T extends RingPosition<T>>
List<Range<T>>Range.sort(Collection<Range<T>> ranges) Splitter.split(Collection<Range<Token>> ranges, int parts) Splits the specified token ranges in at leastpartssubranges.static <T extends RingPosition<T>>
Set<Range<T>>Range.subtract(Collection<Range<T>> ranges, Collection<Range<T>> subtract) Range.subtractAll(Collection<Range<T>> ranges) booleanOwnedRanges.validateRangeRequest(Collection<Range<Token>> requestedRanges, String requestId, String requestType, InetAddressAndPort from) Check that all ranges in a requested set are contained by those in the owned set.Constructors in org.apache.cassandra.dht with parameters of type RangeConstructor parameters in org.apache.cassandra.dht with type arguments of type RangeModifierConstructorDescriptionOrderedRangeContainmentChecker(Collection<Range<Token>> ranges) OwnedRanges(Collection<Range<Token>> ownedRanges) -
Uses of Range in org.apache.cassandra.io.sstable
Fields in org.apache.cassandra.io.sstable with type parameters of type RangeModifier and TypeFieldDescriptionfinal Function<String,? extends Collection<Range<Token>>> IVerifier.Options.tokenLookupMethods in org.apache.cassandra.io.sstable that return types with arguments of type RangeMethods in org.apache.cassandra.io.sstable with parameters of type RangeModifier and TypeMethodDescriptionprotected voidSSTableLoader.Client.addRangeForEndpoint(Range<Token> range, InetAddressAndPort endpoint) Method parameters in org.apache.cassandra.io.sstable with type arguments of type RangeModifier and TypeMethodDescriptionIVerifier.Options.Builder.tokenLookup(Function<String, ? extends Collection<Range<Token>>> tokenLookup) -
Uses of Range in org.apache.cassandra.io.sstable.format
Fields in org.apache.cassandra.io.sstable.format with type parameters of type RangeModifier and TypeFieldDescriptionprotected final Function<String,? extends Collection<Range<Token>>> SortedTableVerifier.tokenLookupGiven a keyspace, return the set of local and pending token ranges.Methods in org.apache.cassandra.io.sstable.format with parameters of type RangeModifier and TypeMethodDescriptionabstract Iterable<DecoratedKey>SSTableReader.getKeySamples(Range<Token> range) Returns sample keys for the provided token range.SSTableReader.getScanner(Range<Token> range) Direct I/O SSTableScanner over a defined range of tokens.Method parameters in org.apache.cassandra.io.sstable.format with type arguments of type RangeModifier and TypeMethodDescriptionabstract longSSTableReader.estimatedKeysForRanges(Collection<Range<Token>> ranges) Calculates an estimate of the number of keys for the given ranges in the sstable represented by this reader.SSTableReader.getPositionsForRanges(Collection<Range<Token>> ranges) Determine the minimal set of sections that can be extracted from this SSTable to cover the given ranges.SSTableReader.getScanner(Collection<Range<Token>> ranges) Direct I/O SSTableScanner over a defined collection of ranges of tokens.booleanSSTableReader.intersects(Collection<Range<Token>> ranges) Constructor parameters in org.apache.cassandra.io.sstable.format with type arguments of type Range -
Uses of Range in org.apache.cassandra.io.sstable.format.big
Methods in org.apache.cassandra.io.sstable.format.big with parameters of type RangeMethod parameters in org.apache.cassandra.io.sstable.format.big with type arguments of type RangeModifier and TypeMethodDescriptionlongBigTableReader.estimatedKeysForRanges(Collection<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.io.sstable.format.bti
Methods in org.apache.cassandra.io.sstable.format.bti with parameters of type RangeMethod parameters in org.apache.cassandra.io.sstable.format.bti with type arguments of type RangeModifier and TypeMethodDescriptionlongBtiTableReader.estimatedKeysForRanges(Collection<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.io.sstable.indexsummary
Methods in org.apache.cassandra.io.sstable.indexsummary with parameters of type RangeModifier and TypeMethodDescriptionIterable<byte[]>IndexSummary.getKeySamples(Range<Token> range) Method parameters in org.apache.cassandra.io.sstable.indexsummary with type arguments of type RangeModifier and TypeMethodDescriptionIndexSummary.getSampleIndexesForRanges(Collection<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.locator
Fields in org.apache.cassandra.locator declared as RangeMethods in org.apache.cassandra.locator that return RangeMethods in org.apache.cassandra.locator that return types with arguments of type RangeModifier and TypeMethodDescriptionRangesAtEndpoint.byRange()TokenMetadata.getPrimaryRangesFor(Collection<Token> tokens) PendingRangeMaps.iterator()RangesAtEndpoint.ranges()Methods in org.apache.cassandra.locator with parameters of type RangeModifier and TypeMethodDescriptionvoidPendingRangeMaps.addPendingRange(Range<Token> range, Replica replica) static EndpointsForRange.Builderstatic EndpointsForRange.BuilderbooleanbooleanReplica.decorateSubrange(Range<Token> subrange) static EndpointsForRangestatic ReplicaReplica.fullReplica(InetAddressAndPort endpoint, Range<Token> range) protected EndpointsForRange.BuilderEndpointsByRange.Builder.newBuilder(Range<Token> range) voidEndpointsByRange.Builder.putAll(Range<Token> range, EndpointsForRange replicas, ReplicaCollection.Builder.Conflict ignoreConflicts) Replica.subtractIgnoreTransientStatus(Range<Token> subtract) Don't use this method and ignore transient status unless you are explicitly handling it outside this method.static ReplicaReplica.transientReplica(InetAddressAndPort endpoint, Range<Token> range) Method parameters in org.apache.cassandra.locator with type arguments of type RangeModifier and TypeMethodDescriptionvoidTokenMetadata.setPendingRangesUnsafe(String keyspaceName, com.google.common.collect.Multimap<Range<Token>, Replica> rangeMap) static RangesAtEndpointRangesAtEndpoint.toDummyList(Collection<Range<Token>> ranges) Use of this method to synthesize Replicas is almost always wrong.Constructors in org.apache.cassandra.locator with parameters of type RangeModifierConstructorDescriptionReplica(InetAddressAndPort endpoint, Range<Token> range, boolean full) Constructor parameters in org.apache.cassandra.locator with type arguments of type Range -
Uses of Range in org.apache.cassandra.metrics
Method parameters in org.apache.cassandra.metrics with type arguments of type RangeModifier and TypeMethodDescriptionTopPartitionTracker.TopHolder.merge(TopPartitionTracker.TopHolder holder, Collection<Range<Token>> ownedRanges) we merge any pre-existing top partitions on to the ones we just collected if they are outside of the range collected.Constructor parameters in org.apache.cassandra.metrics with type arguments of type Range -
Uses of Range in org.apache.cassandra.repair
Fields in org.apache.cassandra.repair with type parameters of type RangeModifier and TypeFieldDescriptionfinal Collection<Range<Token>>SyncStat.differencesfinal Collection<Range<Token>>CoordinatedRepairResult.failedRangesfinal Collection<Range<Token>>CommonRange.rangesfinal Collection<Range<Token>>RepairJobDesc.rangesrepairing rangefinal Collection<Range<Token>>RepairSessionResult.rangesSyncTask.rangesToSyncfinal Collection<Range<Token>>CoordinatedRepairResult.skippedRangesfinal Collection<Range<Token>>CoordinatedRepairResult.successfulRangesMethods in org.apache.cassandra.repair that return types with arguments of type RangeModifier and TypeMethodDescriptionValidationPartitionIterator.getRangePartitionCounts()RepairSession.ranges()Method parameters in org.apache.cassandra.repair with type arguments of type RangeModifier and TypeMethodDescriptionstatic CoordinatedRepairResultCoordinatedRepairResult.create(List<Collection<Range<Token>>> ranges, List<RepairSessionResult> results) TableRepairManager.getValidationIterator(Collection<Range<Token>> ranges, TimeUUID parentId, TimeUUID sessionID, boolean isIncremental, long nowInSec, TopPartitionTracker.Collector topPartitionCollector) Return a validation iterator for the given parameters.voidTableRepairManager.snapshot(String name, Collection<Range<Token>> ranges, boolean force) For snapshot repairs.Constructor parameters in org.apache.cassandra.repair with type arguments of type RangeModifierConstructorDescriptionAsymmetricRemoteSyncTask(SharedContext ctx, RepairJobDesc desc, InetAddressAndPort to, InetAddressAndPort from, List<Range<Token>> differences, PreviewKind previewKind) CommonRange(Set<InetAddressAndPort> endpoints, Set<InetAddressAndPort> transEndpoints, Collection<Range<Token>> ranges) CommonRange(Set<InetAddressAndPort> endpoints, Set<InetAddressAndPort> transEndpoints, Collection<Range<Token>> ranges, boolean hasSkippedReplicas) CoordinatedRepairResult(Collection<Range<Token>> successfulRanges, Collection<Range<Token>> failedRanges, Collection<Range<Token>> skippedRanges, List<RepairSessionResult> results) LocalSyncTask(SharedContext ctx, RepairJobDesc desc, InetAddressAndPort local, InetAddressAndPort remote, List<Range<Token>> diff, TimeUUID pendingRepair, boolean requestRanges, boolean transferRanges, PreviewKind previewKind) RepairJobDesc(TimeUUID parentSessionId, TimeUUID sessionId, String keyspace, String columnFamily, Collection<Range<Token>> ranges) RepairOutOfTokenRangeException(Collection<Range<Token>> ownedRanges) RepairSessionResult(TimeUUID sessionId, String keyspace, Collection<Range<Token>> ranges, Collection<RepairResult> repairJobResults, boolean skippedReplicas) StreamingRepairTask(SharedContext ctx, SyncState state, RepairJobDesc desc, InetAddressAndPort initiator, InetAddressAndPort src, InetAddressAndPort dst, Collection<Range<Token>> ranges, TimeUUID pendingRepair, PreviewKind previewKind, boolean asymmetric) SymmetricRemoteSyncTask(SharedContext ctx, RepairJobDesc desc, InetAddressAndPort r1, InetAddressAndPort r2, List<Range<Token>> differences, PreviewKind previewKind) SyncStat(SyncNodePair nodes, Collection<Range<Token>> differences) SyncStat(SyncNodePair nodes, Collection<Range<Token>> differences, List<SessionSummary> summaries) protectedSyncTask(SharedContext ctx, RepairJobDesc desc, InetAddressAndPort primaryEndpoint, InetAddressAndPort peer, List<Range<Token>> rangesToSync, PreviewKind previewKind) -
Uses of Range in org.apache.cassandra.repair.asymmetric
Methods in org.apache.cassandra.repair.asymmetric that return types with arguments of type RangeModifier and TypeMethodDescriptionRangeDenormalizer.denormalize(Range<Token> range, RangeMap<StreamFromOptions> incoming) "Denormalizes" (kind of the opposite of what Range.normalize does) the ranges in the keys of {{incoming}} It makes sure that if there is an intersection between {{range}} and some of the ranges in {{incoming.keySet()}} we know that all intersections are keys in the updated {{incoming}}RangeMap.entrySet()HostDifferences.get(InetAddressAndPort differingHost) com.google.common.collect.ImmutableMap<Range<Token>,StreamFromOptions> IncomingRepairStreamTracker.getIncoming()RangeMap.keySet()RangeMap.removeIntersecting(Range<Token> range) RangeDenormalizer.subtractAll(Collection<Map.Entry<Range<Token>, StreamFromOptions>> ranges, Range<Token> toSubtract) copied from Range - need to iterate over the map entriesMethods in org.apache.cassandra.repair.asymmetric with parameters of type RangeModifier and TypeMethodDescriptionvoidIncomingRepairStreamTracker.addIncomingRangeFrom(Range<Token> range, InetAddressAndPort streamFromNode) Adds a range to be streamed from streamFromNode First the currently tracked ranges are denormalized to make sure that no ranges overlap, then the streamFromNode is added to the StreamFromOptions for the rangevoidHostDifferences.addSingleRange(InetAddressAndPort remoteNode, Range<Token> rangeToFetch) RangeDenormalizer.denormalize(Range<Token> range, RangeMap<StreamFromOptions> incoming) "Denormalizes" (kind of the opposite of what Range.normalize does) the ranges in the keys of {{incoming}} It makes sure that if there is an intersection between {{range}} and some of the ranges in {{incoming.keySet()}} we know that all intersections are keys in the updated {{incoming}}booleanDifferenceHolder.hasDifferenceBetween(InetAddressAndPort node1, InetAddressAndPort node2, Range<Token> range) booleanHostDifferences.hasDifferencesFor(InetAddressAndPort node2, Range<Token> range) Does this instance have differences for range with node2?RangeMap.removeIntersecting(Range<Token> range) RangeDenormalizer.subtractAll(Collection<Map.Entry<Range<Token>, StreamFromOptions>> ranges, Range<Token> toSubtract) copied from Range - need to iterate over the map entriesMethod parameters in org.apache.cassandra.repair.asymmetric with type arguments of type RangeModifier and TypeMethodDescriptionvoidHostDifferences.add(InetAddressAndPort endpoint, Collection<Range<Token>> difference) Adds a set of differences between the node this instance is tracking and endpointvoidRangeDenormalizer.subtractAll(Collection<Map.Entry<Range<Token>, StreamFromOptions>> ranges, Range<Token> toSubtract) copied from Range - need to iterate over the map entriesConstructors in org.apache.cassandra.repair.asymmetric with parameters of type RangeModifierConstructorDescriptionStreamFromOptions(DifferenceHolder differences, Range<Token> range) -
Uses of Range in org.apache.cassandra.repair.autorepair
Fields in org.apache.cassandra.repair.autorepair declared as RangeFields in org.apache.cassandra.repair.autorepair with type parameters of type RangeMethods in org.apache.cassandra.repair.autorepair that return RangeMethods in org.apache.cassandra.repair.autorepair that return types with arguments of type RangeModifier and TypeMethodDescriptionAutoRepairUtils.calcTotalBytesToBeRepaired(AutoRepairConfig.RepairType repairType, String keyspaceName, List<String> tableNames, List<Range<Token>> tokenRanges) Calculates the total bytes to be repaired for a given keyspace and list of tables.AutoRepairUtils.getTokenRanges(boolean primaryRangeOnly, String keyspaceName) Calculates the token ranges owned by this node for a given keyspace.static Collection<Range<Token>>Methods in org.apache.cassandra.repair.autorepair with parameters of type RangeModifier and TypeMethodDescriptionRepairTokenRangeSplitter.getRepairAssignmentsForTable(KeyspaceRepairPlan repairPlan, String tableName, Range<Token> tokenRange) KeyspaceRepairPlan.getSizeEstimate(String keyspaceTableName, Range<Token> tokenRange) static Collection<Range<Token>>Method parameters in org.apache.cassandra.repair.autorepair with type arguments of type RangeModifier and TypeMethodDescriptionabstract RepairCoordinatorAutoRepairState.getRepairRunnable(String keyspace, List<String> tables, Set<Range<Token>> ranges, boolean primaryRangeOnly) Constructors in org.apache.cassandra.repair.autorepair with parameters of type RangeModifierConstructorDescriptionRepairAssignment(Range<Token> tokenRange, String keyspaceName, List<String> tableNames, long estimatedBytes) SizedRepairAssignment(Range<Token> tokenRange, String keyspaceName, List<String> tableNames, String description, long estimatedBytes) SizeEstimate(AutoRepairConfig.RepairType repairType, String keyspace, String table, Range<Token> tokenRange, long partitions, long sizeInRange, long totalSize) Constructor parameters in org.apache.cassandra.repair.autorepair with type arguments of type RangeModifierConstructorDescriptionKeyspaceRepairPlan(String keyspaceName, List<String> tableNames, Map<String, Map<Range<Token>, AutoRepairUtils.SizeEstimate>> ksTablesEstimatedBytes) -
Uses of Range in org.apache.cassandra.repair.consistent
Fields in org.apache.cassandra.repair.consistent declared as RangeFields in org.apache.cassandra.repair.consistent with type parameters of type RangeMethods in org.apache.cassandra.repair.consistent that return types with arguments of type RangeMethod parameters in org.apache.cassandra.repair.consistent with type arguments of type RangeModifier and TypeMethodDescriptionvoidRepairedState.add(Collection<Range<Token>> ranges, long repairedAt) LocalSessions.cleanup(TableId tid, Collection<Range<Token>> ranges, boolean force) LocalSessions.getPendingStats(TableId tid, Collection<Range<Token>> ranges) LocalSessions.getRepairedStats(TableId tid, Collection<Range<Token>> ranges) RepairedState.getRepairedStats(Collection<Range<Token>> ranges) booleanConsistentSession.intersects(Iterable<Range<Token>> otherRanges) longRepairedState.minRepairedAt(Collection<Range<Token>> ranges) LocalSessions.sessionInfo(boolean all, Set<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.repair.messages
Fields in org.apache.cassandra.repair.messages with type parameters of type RangeModifier and TypeFieldDescriptionfinal Collection<Range<Token>>PrepareMessage.rangesfinal Collection<Range<Token>>SyncRequest.rangesMethods in org.apache.cassandra.repair.messages that return types with arguments of type RangeModifier and TypeMethodDescriptionRepairOption.getRanges()RepairOption.parseRanges(String rangesStr, IPartitioner partitioner) Constructor parameters in org.apache.cassandra.repair.messages with type arguments of type RangeModifierConstructorDescriptionPrepareMessage(TimeUUID parentRepairSession, List<TableId> tableIds, Collection<Range<Token>> ranges, boolean isIncremental, long repairedAt, boolean isGlobal, PreviewKind previewKind) RepairOption(RepairParallelism parallelism, boolean primaryRange, boolean incremental, boolean trace, int jobThreads, Collection<Range<Token>> ranges, boolean isSubrangeRepair, boolean pullRepair, boolean forceRepair, PreviewKind previewKind, boolean optimiseStreams, boolean ignoreUnreplicatedKeyspaces, boolean repairPaxos, boolean paxosOnly) SyncRequest(RepairJobDesc desc, InetAddressAndPort initiator, InetAddressAndPort src, InetAddressAndPort dst, Collection<Range<Token>> ranges, PreviewKind previewKind, boolean asymmetric) -
Uses of Range in org.apache.cassandra.repair.state
Fields in org.apache.cassandra.repair.state with type parameters of type Range -
Uses of Range in org.apache.cassandra.schema
Method parameters in org.apache.cassandra.schema with type arguments of type RangeModifier and TypeMethodDescriptionstatic voidSystemDistributedKeyspace.successfulParentRepair(TimeUUID parent_id, Collection<Range<Token>> successfulRanges) -
Uses of Range in org.apache.cassandra.service
Fields in org.apache.cassandra.service declared as RangeMethods in org.apache.cassandra.service that return types with arguments of type RangeModifier and TypeMethodDescriptionStorageService.getAllRanges(List<Token> sortedTokens) Get all ranges that span the ring given a set of tokens.StorageService.getLocalAndPendingRanges(String ks) StorageService.getLocalPrimaryRange()StorageService.getLocalPrimaryRangeForEndpoint(InetAddressAndPort referenceEndpoint) StorageService.getLocalRanges(String ks) StorageService.getPrimaryRangeForEndpointWithinDC(String keyspace, InetAddressAndPort referenceEndpoint) Get the "primary ranges" within local DC for the specified keyspace and endpoint.StorageService.getPrimaryRanges(String keyspace) StorageService.getPrimaryRangesForEndpoint(String keyspace, InetAddressAndPort ep) Get the "primary ranges" for the specified keyspace and endpoint.StorageService.getPrimaryRangesWithinDC(String keyspace) ActiveRepairService.ParentRepairSession.getRanges()Methods in org.apache.cassandra.service with parameters of type RangeModifier and TypeMethodDescriptionstatic TokenRangeTokenRange.create(Token.TokenFactory tokenFactory, Range<Token> range, List<InetAddressAndPort> endpoints, boolean withPorts) ActiveRepairService.getNeighbors(String keyspaceName, Iterable<Range<Token>> keyspaceLocalRanges, Range<Token> toRepair, Collection<String> dataCenters, Collection<String> hosts) Return all of the neighbors with whom we share the provided range.Method parameters in org.apache.cassandra.service with type arguments of type RangeModifier and TypeMethodDescriptionActiveRepairService.getNeighbors(String keyspaceName, Iterable<Range<Token>> keyspaceLocalRanges, Range<Token> toRepair, Collection<String> dataCenters, Collection<String> hosts) Return all of the neighbors with whom we share the provided range.voidActiveRepairService.registerParentRepairSession(TimeUUID parentRepairSession, InetAddressAndPort coordinator, List<ColumnFamilyStore> columnFamilyStores, Collection<Range<Token>> ranges, boolean isIncremental, long repairedAt, boolean isGlobal, PreviewKind previewKind) Future<?>ActiveRepairService.repairPaxosForTopologyChange(String ksName, Collection<Range<Token>> ranges, String reason) Constructor parameters in org.apache.cassandra.service with type arguments of type RangeModifierConstructorDescriptionParentRepairSession(InetAddressAndPort coordinator, List<ColumnFamilyStore> columnFamilyStores, Collection<Range<Token>> ranges, boolean isIncremental, long repairedAt, boolean isGlobal, PreviewKind previewKind) -
Uses of Range in org.apache.cassandra.service.paxos
Methods in org.apache.cassandra.service.paxos with parameters of type RangeModifier and TypeMethodDescriptionstatic booleanPaxosRepair.hasSufficientLiveNodesForTopologyChange(Keyspace keyspace, Range<Token> range, Collection<InetAddressAndPort> liveEndpoints) checks if we have enough live nodes to perform a paxos repair for topology repair.Method parameters in org.apache.cassandra.service.paxos with type arguments of type RangeModifier and TypeMethodDescriptionstatic PaxosRepairHistoryPaxosRepairHistory.add(PaxosRepairHistory existing, Collection<Range<Token>> ranges, Ballot ballot) voidTablePaxosRepairHistory.add(Collection<Range<Token>> ranges, Ballot ballot, boolean flush) TablePaxosRepairHistory.getHistoryForRanges(Collection<Range<Token>> ranges) static booleanPaxosRepair.validatePeerCompatibility(SharedContext ctx, TableMetadata table, Collection<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.service.paxos.cleanup
Fields in org.apache.cassandra.service.paxos.cleanup with type parameters of type RangeMethod parameters in org.apache.cassandra.service.paxos.cleanup with type arguments of type RangeModifier and TypeMethodDescriptionstatic PaxosCleanupLocalCoordinatorPaxosCleanupLocalCoordinator.createForAutoRepair(SharedContext ctx, TableId tableId, Collection<Range<Token>> ranges) Constructor parameters in org.apache.cassandra.service.paxos.cleanup with type arguments of type RangeModifierConstructorDescriptionPaxosCleanupRequest(UUID session, TableId tableId, Collection<Range<Token>> ranges) Request(TableId tableId, EndpointState epState, Collection<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.service.paxos.uncommitted
Method parameters in org.apache.cassandra.service.paxos.uncommitted with type arguments of type RangeModifier and TypeMethodDescriptionPaxosUncommittedIndex.repairIterator(TableId tableId, Collection<Range<Token>> ranges) PaxosUncommittedTracker.UpdateSupplier.repairIterator(TableId tableId, Collection<Range<Token>> ranges) PaxosUncommittedTracker.uncommittedKeyIterator(TableId tableId, Collection<Range<Token>> ranges) -
Uses of Range in org.apache.cassandra.streaming
Fields in org.apache.cassandra.streaming with type parameters of type RangeConstructor parameters in org.apache.cassandra.streaming with type arguments of type RangeModifierConstructorDescriptionStreamReceivedOutOfTokenRangeException(Collection<Range<Token>> ownedRanges, DecoratedKey key, String filename) -
Uses of Range in org.apache.cassandra.utils
Subclasses of Range in org.apache.cassandra.utilsModifier and TypeClassDescriptionstatic classThe public interface to a range in the tree.Methods in org.apache.cassandra.utils that return types with arguments of type RangeModifier and TypeMethodDescriptionRangesSerializer.deserialize(DataInputPlus in, int version) MerkleTrees.difference(MerkleTrees ltrees, MerkleTrees rtrees) Get the differences between the two sets of MerkleTrees.MerkleTrees.iterator()Get an iterator of all ranges and their MerkleTrees.MerkleTrees.ranges()Get the ranges that these merkle trees covers.Methods in org.apache.cassandra.utils with parameters of type RangeModifier and TypeMethodDescriptionMerkleTrees.addMerkleTree(int maxsize, byte hashdepth, Range<Token> range) MerkleTrees.addMerkleTree(int maxsize, Range<Token> range) Add a MerkleTree with the defined size and range.MerkleTrees.getMerkleTree(Range<Token> range) Get the MerkleTree responsible for the given token range.byte[]voidInit a selected MerkleTree with an even tree distribution.voidstatic voidFBUtilities.sortSampledKeys(List<DecoratedKey> keys, Range<Token> range) Method parameters in org.apache.cassandra.utils with type arguments of type RangeModifier and TypeMethodDescriptionvoidMerkleTrees.addMerkleTrees(int maxsize, Collection<Range<Token>> ranges) Add merkle tree's with the defined maxsize and ranges.static voidDiagnosticSnapshotService.repairedDataMismatch(TableMetadata metadata, Iterable<InetAddressAndPort> replicas, List<Range<Token>> ranges) voidRangesSerializer.serialize(Collection<Range<Token>> ranges, DataOutputPlus out, int version) longRangesSerializer.serializedSize(Collection<Range<Token>> ranges, int version) static voidDiagnosticSnapshotService.snapshot(SnapshotCommand command, List<Range<Token>> ranges, InetAddressAndPort initiator) Constructors in org.apache.cassandra.utils with parameters of type RangeModifierConstructorDescriptionMerkleTree(IPartitioner partitioner, Range<Token> range, int hashdepth, long maxsize)