Uses of Class
org.apache.cassandra.io.sstable.format.SSTableReader
Packages that use SSTableReader
Package
Description
File transfer
-
Uses of SSTableReader in org.apache.cassandra.db
Fields in org.apache.cassandra.db with type parameters of type SSTableReaderModifier and TypeFieldDescriptionfinal Refs<SSTableReader>ColumnFamilyStore.RefViewFragment.refsfinal List<SSTableReader>ColumnFamilyStore.ViewFragment.sstablesMethods in org.apache.cassandra.db that return SSTableReaderModifier and TypeMethodDescriptionColumnFamilyStore.getMaxSizeFile(Iterable<SSTableReader> sstables) Methods in org.apache.cassandra.db that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionKeyspace.getAllSSTables(SSTableSet sstableSet) ColumnFamilyStore.getAndReferenceOverlappingLiveSSTables(Iterable<SSTableReader> sstables) like getOverlappingSSTables, but acquires references before returningColumnFamilyStore.getLiveSSTables()ColumnFamilyStore.getOverlappingLiveSSTables(Iterable<SSTableReader> sstables) ColumnFamilyStore.getSnapshotSSTableReaders(String tag) ColumnFamilyStore.getSSTables(SSTableSet sstableSet) ColumnFamilyStore.getUncompactingSSTables()Methods in org.apache.cassandra.db with parameters of type SSTableReaderModifier and TypeMethodDescriptionvoidColumnFamilyStore.addSSTable(SSTableReader sstable) DiskBoundaries.getCorrectDiskForSSTable(SSTableReader sstable) intDiskBoundaries.getDiskIndex(SSTableReader sstable) static voidUnfilteredValidation.handleInvalid(TableMetadata metadata, DecoratedKey key, SSTableReader sstable, String invalidContent) protected booleanReadCommand.hasPartitionLevelDeletions(SSTableReader sstable) protected booleanReadCommand.hasRequiredStatics(SSTableReader sstable) protected booleanPartitionRangeReadCommand.intersects(SSTableReader sstable) protected abstract booleanReadCommand.intersects(SSTableReader sstable) protected booleanSinglePartitionReadCommand.intersects(SSTableReader sstable) booleanDiskBoundaries.isInCorrectLocation(SSTableReader sstable, Directories.DataDirectory currentLocation) StorageHook.makeRowIterator(ColumnFamilyStore cfs, SSTableReader sstable, DecoratedKey key, Slices slices, ColumnFilter selectedColumns, boolean reversed, SSTableReadsListener listener) StorageHook.makeRowIteratorWithLowerBound(ColumnFamilyStore cfs, SSTableReader sstable, DecoratedKey partitionKey, ClusteringIndexFilter filter, ColumnFilter selectedColumns, SSTableReadsListener listener) static voidUnfilteredValidation.maybeValidateUnfiltered(Unfiltered unfiltered, TableMetadata metadata, DecoratedKey key, SSTableReader sstable) Method parameters in org.apache.cassandra.db with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidColumnFamilyStore.addSSTables(Collection<SSTableReader> sstables) protected TableSnapshotColumnFamilyStore.createSnapshot(String tag, boolean ephemeral, DurationSpec.IntSecondsBound ttl, Set<SSTableReader> sstables, Instant creationTime) ColumnFamilyStore.getAndReferenceOverlappingLiveSSTables(Iterable<SSTableReader> sstables) like getOverlappingSSTables, but acquires references before returningColumnFamilyStore.getDirectoriesForFiles(Set<SSTableReader> sstables) Grabs the global first/last tokens among sstables and returns the range of data directories that start/end with those tokens.longColumnFamilyStore.getExpectedCompactedFileSize(Iterable<SSTableReader> sstables, OperationType operation) Calculate expected file size of SSTable after compaction.ColumnFamilyStore.getMaxSizeFile(Iterable<SSTableReader> sstables) ColumnFamilyStore.getOverlappingLiveSSTables(Iterable<SSTableReader> sstables) static SerializationHeaderSerializationHeader.make(TableMetadata metadata, Collection<SSTableReader> sstables) voidColumnFamilyStore.markObsolete(Collection<SSTableReader> sstables, OperationType compactionType) <V> VColumnFamilyStore.runWithCompactionsDisabled(Callable<V> callable, com.google.common.base.Predicate<SSTableReader> sstablesPredicate, OperationType operationType, boolean interruptValidation, boolean interruptViews, boolean interruptIndexes) Runs callable with compactions paused and compactions including sstables matching sstablePredicate stoppedColumnFamilyStore.select(com.google.common.base.Function<View, Iterable<SSTableReader>> filter) ColumnFamilyStore.selectAndReference(com.google.common.base.Function<View, Iterable<SSTableReader>> filter) ColumnFamilyStore.snapshot(String snapshotName, com.google.common.base.Predicate<SSTableReader> predicate, boolean ephemeral, boolean skipMemtable) ColumnFamilyStore.snapshot(String snapshotName, com.google.common.base.Predicate<SSTableReader> predicate, boolean ephemeral, boolean skipMemtable, DurationSpec.IntSecondsBound ttl, com.google.common.util.concurrent.RateLimiter rateLimiter, Instant creationTime) ColumnFamilyStore.snapshotWithoutMemtable(String snapshotName, com.google.common.base.Predicate<SSTableReader> predicate, boolean ephemeral, DurationSpec.IntSecondsBound ttl, com.google.common.util.concurrent.RateLimiter rateLimiter, Instant creationTime) <T> List<T>ColumnFamilyStore.withSSTablesForKey(String key, boolean hexFormat, com.google.common.base.Function<SSTableReader, T> mapper) voidColumnFamilyStore.writeAndAddMemtableRanges(TimeUUID repairSessionID, Supplier<Collection<Range<PartitionPosition>>> rangesSupplier, Refs<SSTableReader> placeIntoRefs) Constructor parameters in org.apache.cassandra.db with type arguments of type SSTableReaderModifierConstructorDescriptionRefViewFragment(List<SSTableReader> sstables, Iterable<Memtable> memtables, Refs<SSTableReader> refs) RefViewFragment(List<SSTableReader> sstables, Iterable<Memtable> memtables, Refs<SSTableReader> refs) ViewFragment(List<SSTableReader> sstables, Iterable<Memtable> memtables) -
Uses of SSTableReader in org.apache.cassandra.db.commitlog
Method parameters in org.apache.cassandra.db.commitlog with type arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic IntervalSet<CommitLogPosition>CommitLogReplayer.persistedIntervals(Iterable<SSTableReader> onDisk, CommitLogPosition truncatedAt, UUID localhostId) A set of known safe-to-discard commit log replay positions, based on the range covered by on disk sstables and those prior to the most recent truncation record -
Uses of SSTableReader in org.apache.cassandra.db.compaction
Fields in org.apache.cassandra.db.compaction with type parameters of type SSTableReaderModifier and TypeFieldDescriptionfinal Collection<SSTableReader>LeveledManifest.CompactionCandidate.sstablesprotected final Set<SSTableReader>SizeTieredCompactionStrategy.sstablesprotected final Set<SSTableReader>UnifiedCompactionStrategy.sstablesMethods in org.apache.cassandra.db.compaction that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic List<Pair<SSTableReader,Long>> SizeTieredCompactionStrategy.createSSTableAndLengthPairs(Iterable<SSTableReader> sstables) static List<SSTableReader>AbstractCompactionStrategy.filterSuspectSSTables(Iterable<SSTableReader> originalCandidates) Filters SSTables that are to be excluded from the given collectionCompactionController.getFullyExpiredSSTables()static Set<SSTableReader>CompactionController.getFullyExpiredSSTables(ColumnFamilyStore cfStore, Iterable<SSTableReader> compacting, Iterable<SSTableReader> overlapping, long gcBefore) static Set<SSTableReader>CompactionController.getFullyExpiredSSTables(ColumnFamilyStore cfStore, Iterable<SSTableReader> compacting, Iterable<SSTableReader> overlapping, long gcBefore, boolean ignoreOverlaps) Finds expired sstables works something like this; 1.AbstractStrategyHolder.GroupedSSTableContainer.getGroup(int i) protected abstract Set<SSTableReader>AbstractCompactionStrategy.getSSTables()Returns the sstables managed by this strategy instanceCompactionInfo.getSSTables()protected Set<SSTableReader>LeveledCompactionStrategy.getSSTables()LeveledManifest.getSSTables()protected Set<SSTableReader>SizeTieredCompactionStrategy.getSSTables()protected Set<SSTableReader>TimeWindowCompactionStrategy.getSSTables()protected Set<SSTableReader>UnifiedCompactionStrategy.getSSTables()UnifiedCompactionStrategy.Level.getSSTables()Set<SSTableReader>[]LeveledManifest.getSStablesPerLevelSnapshot()AbstractCompactionStrategy.groupSSTablesForAntiCompaction(Collection<SSTableReader> sstablesToGroup) Method for grouping similar SSTables together, This will be used by anti-compaction to determine which SSTables should be anitcompacted as a group.CompactionStrategyManager.groupSSTablesForAntiCompaction(Collection<SSTableReader> sstablesToGroup) LeveledCompactionStrategy.groupSSTablesForAntiCompaction(Collection<SSTableReader> ssTablesToGroup) Leveled compaction strategy has guarantees on the data contained within each level so we have to make sure we only create groups of SSTables with members from the same level.TimeWindowCompactionStrategy.groupSSTablesForAntiCompaction(Collection<SSTableReader> sstablesToGroup) TWCS should not group sstables for anticompaction - this can mix new and old datastatic List<SSTableReader>SizeTieredCompactionStrategy.mostInterestingBucket(List<List<SSTableReader>> buckets, int minThreshold, int maxThreshold) Methods in org.apache.cassandra.db.compaction with parameters of type SSTableReaderModifier and TypeMethodDescriptionabstract voidAbstractCompactionStrategy.addSSTable(SSTableReader added) Adds sstable, note that implementations must handle duplicate notifications here (added already being in the compaction strategy)abstract voidAbstractStrategyHolder.addSSTable(SSTableReader sstable) voidCompactionStrategyHolder.addSSTable(SSTableReader sstable) voidLeveledCompactionStrategy.addSSTable(SSTableReader added) voidPendingRepairHolder.addSSTable(SSTableReader sstable) voidSizeTieredCompactionStrategy.addSSTable(SSTableReader added) voidTimeWindowCompactionStrategy.addSSTable(SSTableReader sstable) voidUnifiedCompactionStrategy.addSSTable(SSTableReader added) default intShardManager.compareByDensity(SSTableReader a, SSTableReader b) abstract booleanAbstractStrategyHolder.containsSSTable(SSTableReader sstable) booleanCompactionStrategyHolder.containsSSTable(SSTableReader sstable) booleanPendingRepairHolder.containsSSTable(SSTableReader sstable) ShardManager.coveringRange(SSTableReader sstable) static SSTableWriterCompactionManager.createWriter(ColumnFamilyStore cfs, File compactionFileLocation, long expectedBloomFilterSize, long repairedAt, TimeUUID pendingRepair, boolean isTransient, SSTableReader sstable, LifecycleTransaction txn) default doubleShardManager.density(SSTableReader rdr) Return the density of an SSTable, i.e.ActiveCompactions.getCompactionsForSSTable(SSTableReader sstable, OperationType compactionType) Iterates over the active compactions and tries to find CompactionInfos with the given compactionType for the given sstable Number of entries in compactions should be small (< 10) but avoid calling in any time-sensitive contextCompactionStrategyManager.getCompactionStrategyFor(SSTableReader sstable) return the compaction strategy for the given sstable returns differently based on the repaired status and which vnode the compaction strategy belongs tointAbstractStrategyHolder.DestinationRouter.getIndexForSSTable(SSTableReader sstable) abstract AbstractCompactionStrategyAbstractStrategyHolder.getStrategyFor(SSTableReader sstable) CompactionStrategyHolder.getStrategyFor(SSTableReader sstable) PendingRepairHolder.getStrategyFor(SSTableReader sstable) booleanCompactionStrategyManager.hasPendingRepairSSTable(TimeUUID sessionID, SSTableReader sstable) booleanPendingRepairHolder.hasPendingRepairSSTable(TimeUUID sessionID, SSTableReader sstable) static booleanUnifiedCompactionStrategy.isSuitableForCompaction(SSTableReader rdr) booleanAbstractStrategyHolder.managesSSTable(SSTableReader sstable) voidAbstractCompactionStrategy.metadataChanged(StatsMetadata oldMetadata, SSTableReader sstable) Called when the metadata has changed for an sstable - for example if the level changed Not called when repair status changes (which is also metadata), because this results in the sstable getting removed from the compaction strategy instance.voidLeveledCompactionStrategy.metadataChanged(StatsMetadata oldMetadata, SSTableReader sstable) 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.default doubleShardManager.rangeSpanned(SSTableReader rdr) Return the token space share that the given SSTable spans, excluding any non-locally owned space.doubleShardManagerTrivial.rangeSpanned(SSTableReader rdr) intLeveledManifest.remove(SSTableReader reader) abstract voidAbstractCompactionStrategy.removeSSTable(SSTableReader sstable) Removes sstable from the strategy, implementations must be able to handle the sstable having already been removed.voidLeveledCompactionStrategy.removeSSTable(SSTableReader sstable) voidSizeTieredCompactionStrategy.removeSSTable(SSTableReader sstable) voidTimeWindowCompactionStrategy.removeSSTable(SSTableReader sstable) voidUnifiedCompactionStrategy.removeSSTable(SSTableReader sstable) com.fasterxml.jackson.databind.JsonNodeCompactionLogger.Strategy.sstable(SSTableReader sstable) protected booleanAbstractCompactionStrategy.worthDroppingTombstones(SSTableReader sstable, long gcBefore) Check if given sstable is worth dropping tombstones at gcBefore.Method parameters in org.apache.cassandra.db.compaction with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidAbstractCompactionStrategy.addSSTables(Iterable<SSTableReader> added) Adds sstables, note that implementations must handle duplicate notifications here (added already being in the compaction strategy)voidLeveledCompactionStrategy.addSSTables(Iterable<SSTableReader> sstables) voidLeveledManifest.addSSTables(Iterable<SSTableReader> readers) protected booleanCompactionTask.buildCompactionCandidatesForAvailableDiskSpace(Set<SSTableReader> fullyExpiredSSTables, TimeUUID taskId) default doubleShardManager.calculateCombinedDensity(Set<? extends SSTableReader> sstables) Estimate the density of the sstable that will be the result of compacting the given sources.doubleShardManagerTrivial.calculateCombinedDensity(Set<? extends SSTableReader> sstables) voidCompactionLogger.compaction(long startTime, Collection<SSTableReader> input, long endTime, Collection<SSTableReader> output) static LeveledManifestLeveledManifest.create(ColumnFamilyStore cfs, int maxSSTableSize, int fanoutSize, Iterable<SSTableReader> sstables, SizeTieredCompactionStrategyOptions options) static LeveledManifestLeveledManifest.create(ColumnFamilyStore cfs, int maxSSTableSize, int fanoutSize, List<SSTableReader> sstables) static List<Pair<SSTableReader,Long>> SizeTieredCompactionStrategy.createSSTableAndLengthPairs(Iterable<SSTableReader> sstables) static SSTableWriterCompactionManager.createWriterForAntiCompaction(ColumnFamilyStore cfs, File compactionFileLocation, int expectedBloomFilterSize, long repairedAt, TimeUUID pendingRepair, boolean isTransient, Collection<SSTableReader> sstables, ILifecycleTransaction txn) static List<SSTableReader>AbstractCompactionStrategy.filterSuspectSSTables(Iterable<SSTableReader> originalCandidates) Filters SSTables that are to be excluded from the given collectionvoidCompactionLogger.flush(Collection<SSTableReader> sstables) voidCompactionManager.forceCompaction(ColumnFamilyStore cfStore, Supplier<Collection<SSTableReader>> sstablesFn, com.google.common.base.Predicate<SSTableReader> sstablesPredicate) voidCompactionManager.forceCompaction(ColumnFamilyStore cfStore, Supplier<Collection<SSTableReader>> sstablesFn, com.google.common.base.Predicate<SSTableReader> sstablesPredicate) abstract CompactionAwareWriterAbstractCompactionTask.getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) CompactionTask.getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction transaction, Set<SSTableReader> nonExpiredSSTables) LeveledCompactionTask.getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) SingleSSTableLCSTask.getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) SSTableSplitter.SplittingCompactionTask.getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) protected CompactionControllerCompactionTask.getCompactionController(Set<SSTableReader> toCompact) protected CompactionControllerSSTableSplitter.SplittingCompactionTask.getCompactionController(Set<SSTableReader> toCompact) TimeWindowCompactionTask.getCompactionController(Set<SSTableReader> toCompact) static intSizeTieredCompactionStrategy.getEstimatedCompactionsByTasks(ColumnFamilyStore cfs, List<List<SSTableReader>> tasks) static Set<SSTableReader>CompactionController.getFullyExpiredSSTables(ColumnFamilyStore cfStore, Iterable<SSTableReader> compacting, Iterable<SSTableReader> overlapping, long gcBefore) static Set<SSTableReader>CompactionController.getFullyExpiredSSTables(ColumnFamilyStore cfStore, Iterable<SSTableReader> compacting, Iterable<SSTableReader> overlapping, long gcBefore, boolean ignoreOverlaps) Finds expired sstables works something like this; 1.static booleanCompactionTask.getIsTransient(Set<SSTableReader> sstables) UnifiedCompactionStrategy.getLevels(Collection<SSTableReader> sstables, com.google.common.base.Predicate<SSTableReader> compactionFilter) Groups the sstables passed in into levels.UnifiedCompactionStrategy.getLevels(Collection<SSTableReader> sstables, com.google.common.base.Predicate<SSTableReader> compactionFilter) Groups the sstables passed in into levels.static longCompactionTask.getMaxDataAge(Collection<SSTableReader> sstables) static longCompactionTask.getMinRepairedAt(Set<SSTableReader> actuallyCompact) intLeveledManifest.getNextLevel(Collection<SSTableReader> sstables) static TimeUUIDCompactionTask.getPendingRepair(Set<SSTableReader> sstables) AbstractCompactionStrategy.getScanners(Collection<SSTableReader> toCompact) AbstractCompactionStrategy.getScanners(Collection<SSTableReader> sstables, Collection<Range<Token>> ranges) Returns a list of KeyScanners given sstables and a range on which to scan.AbstractCompactionStrategy.getScanners(Collection<SSTableReader> sstables, Range<Token> range) CompactionStrategyManager.getScanners(Collection<SSTableReader> sstables) CompactionStrategyManager.getScanners(Collection<SSTableReader> sstables, Collection<Range<Token>> ranges) LeveledCompactionStrategy.getScanners(Collection<SSTableReader> sstables, Collection<Range<Token>> ranges) abstract AbstractCompactionTaskAbstractCompactionStrategy.getUserDefinedTask(Collection<SSTableReader> sstables, long gcBefore) LeveledCompactionStrategy.getUserDefinedTask(Collection<SSTableReader> sstables, long gcBefore) SizeTieredCompactionStrategy.getUserDefinedTask(Collection<SSTableReader> sstables, long gcBefore) TimeWindowCompactionStrategy.getUserDefinedTask(Collection<SSTableReader> sstables, long gcBefore) UnifiedCompactionStrategy.getUserDefinedTask(Collection<SSTableReader> sstables, long gcBefore) CompactionStrategyManager.getUserDefinedTasks(Collection<SSTableReader> sstables, long gcBefore) Return a list of compaction tasks corresponding to the sstables requested.CompactionStrategyManager.groupSSTables(Iterable<SSTableReader> sstables) Split sstables into a list of grouped sstable containers, the list index an sstable lives in matches the list index of the holder that's responsible for itAbstractCompactionStrategy.groupSSTablesForAntiCompaction(Collection<SSTableReader> sstablesToGroup) Method for grouping similar SSTables together, This will be used by anti-compaction to determine which SSTables should be anitcompacted as a group.CompactionStrategyManager.groupSSTablesForAntiCompaction(Collection<SSTableReader> sstablesToGroup) LeveledCompactionStrategy.groupSSTablesForAntiCompaction(Collection<SSTableReader> ssTablesToGroup) Leveled compaction strategy has guarantees on the data contained within each level so we have to make sure we only create groups of SSTables with members from the same level.TimeWindowCompactionStrategy.groupSSTablesForAntiCompaction(Collection<SSTableReader> sstablesToGroup) TWCS should not group sstables for anticompaction - this can mix new and old datavoidCompactionManager.interruptCompactionFor(Iterable<TableMetadata> columnFamilies, Predicate<SSTableReader> sstablePredicate, boolean interruptValidation) Try to stop all of the compactions for given ColumnFamilies.voidCompactionManager.interruptCompactionForCFs(Iterable<ColumnFamilyStore> cfss, Predicate<SSTableReader> sstablePredicate, boolean interruptValidation) booleanCompactionManager.isCompacting(Iterable<ColumnFamilyStore> cfses, Predicate<SSTableReader> sstablePredicate) CompactionStrategyManager.maybeGetScanners(Collection<SSTableReader> sstables, Collection<Range<Token>> ranges) Create ISSTableScanners from the given sstables Delegates the call to the compaction strategies to allow LCS to create a scannerstatic List<SSTableReader>SizeTieredCompactionStrategy.mostInterestingBucket(List<List<SSTableReader>> buckets, int minThreshold, int maxThreshold) voidCompactionStrategyManager.mutateRepaired(Collection<SSTableReader> sstables, long repairedAt, TimeUUID pendingRepair, boolean isTransient) Mutates sstable repairedAt times and notifies listeners of the change with the writeLock held.voidCompactionManager.performAnticompaction(ColumnFamilyStore cfs, RangesAtEndpoint replicas, Refs<SSTableReader> validatedForRepair, LifecycleTransaction txn, TimeUUID sessionID, BooleanSupplier isCancelled) Make sure the {validatedForRepair} are marked for compaction before calling this.CompactionManager.performSSTableRewrite(ColumnFamilyStore cfs, Predicate<SSTableReader> sstableFilter, int jobs) Perform SSTable rewritebooleanCompactionTask.reduceScopeForLimitedSpace(Set<SSTableReader> nonExpiredSSTables, long expectedSize) booleanLeveledCompactionTask.reduceScopeForLimitedSpace(Set<SSTableReader> nonExpiredSSTables, long expectedSize) voidAbstractCompactionStrategy.removeSSTables(Iterable<SSTableReader> removed) Removes sstables from the strategy, implementations must be able to handle the sstables having already been removed.voidLeveledManifest.replace(Collection<SSTableReader> removed, Collection<SSTableReader> added) voidAbstractCompactionStrategy.replaceSSTables(Collection<SSTableReader> removed, Collection<SSTableReader> added) Replaces sstables in the compaction strategy Note that implementations must be able to handle duplicate notifications here (that removed are already gone and added have already been added)voidLeveledCompactionStrategy.replaceSSTables(Collection<SSTableReader> removed, Collection<SSTableReader> added) default longShardTracker.shardAdjustedKeyCount(Set<SSTableReader> sstables) CompactionManager.submitPendingAntiCompaction(ColumnFamilyStore cfs, RangesAtEndpoint tokenRanges, Refs<SSTableReader> sstables, LifecycleTransaction txn, TimeUUID sessionId, BooleanSupplier isCancelled) Splits the given token ranges of the given sstables into a pending repair silovoidCompactionManager.waitForCessation(Iterable<ColumnFamilyStore> cfss, Predicate<SSTableReader> sstablePredicate) Constructor parameters in org.apache.cassandra.db.compaction with type arguments of type SSTableReaderModifierConstructorDescriptionCompactionCandidate(Collection<SSTableReader> sstables, int level, long maxSSTableBytes) CompactionController(ColumnFamilyStore cfs, Set<SSTableReader> compacting, long gcBefore) CompactionController(ColumnFamilyStore cfs, Set<SSTableReader> compacting, long gcBefore, com.google.common.util.concurrent.RateLimiter limiter, CompactionParams.TombstoneOption tombstoneOption) CompactionInfo(TableMetadata metadata, OperationType tasktype, long completed, long total, CompactionInfo.Unit unit, TimeUUID compactionId, Collection<? extends SSTableReader> sstables, String targetDirectory) CompactionInfo(TableMetadata metadata, OperationType tasktype, long completed, long total, TimeUUID compactionId, Collection<? extends SSTableReader> sstables) CompactionInfo(TableMetadata metadata, OperationType tasktype, long completed, long total, TimeUUID compactionId, Collection<SSTableReader> sstables, String targetDirectory) MultiSetBucket(UnifiedCompactionStrategy.Level level, List<Set<SSTableReader>> overlapSets) SimpleBucket(UnifiedCompactionStrategy.Level level, Collection<SSTableReader> sstables) TimeWindowCompactionController(ColumnFamilyStore cfs, Set<SSTableReader> compacting, long gcBefore, boolean ignoreOverlaps) -
Uses of SSTableReader in org.apache.cassandra.db.compaction.unified
Methods in org.apache.cassandra.db.compaction.unified that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionShardedMultiWriter.finish(boolean openResult) ShardedMultiWriter.finished()Method parameters in org.apache.cassandra.db.compaction.unified with type arguments of type SSTableReaderModifier and TypeMethodDescriptionUnifiedCompactionTask.getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) Constructor parameters in org.apache.cassandra.db.compaction.unified with type arguments of type SSTableReaderModifierConstructorDescriptionShardedCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, boolean keepOriginals, ShardTracker boundaries) -
Uses of SSTableReader in org.apache.cassandra.db.compaction.writers
Fields in org.apache.cassandra.db.compaction.writers with type parameters of type SSTableReaderModifier and TypeFieldDescriptionprotected final Set<SSTableReader>CompactionAwareWriter.nonExpiredSSTablesMethods in org.apache.cassandra.db.compaction.writers that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionCompactionAwareWriter.finish()we are done, return the finished sstables so that the caller can mark the old ones as compactedMethod parameters in org.apache.cassandra.db.compaction.writers with type arguments of type SSTableReaderModifier and TypeMethodDescriptionCompactionAwareWriter.getWriteDirectory(Iterable<SSTableReader> sstables, long estimatedWriteSize) Return a directory where we can expect expectedWriteSize to fit.Constructor parameters in org.apache.cassandra.db.compaction.writers with type arguments of type SSTableReaderModifierConstructorDescriptionCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, boolean keepOriginals) DefaultCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) DefaultCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, boolean keepOriginals, int sstableLevel) MajorLeveledCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize) MajorLeveledCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, boolean keepOriginals) MaxSSTableSizeWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, int level) MaxSSTableSizeWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, int level, boolean keepOriginals) SplittingSizeTieredCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) SplittingSizeTieredCompactionWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables, long smallestSSTable) -
Uses of SSTableReader in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle that return SSTableReaderModifier and TypeMethodDescriptionILifecycleTransaction.current(SSTableReader reader) LifecycleTransaction.current(SSTableReader reader) return the current version of the provided reader, whether or not it is visible or staged; i.e.WrappedLifecycleTransaction.current(SSTableReader reader) LifecycleTransaction.onlyOne()static SSTableReaderLifecycleTransaction.ReaderState.visible(SSTableReader reader, com.google.common.base.Predicate<SSTableReader> obsolete, Collection<SSTableReader>... selectFrom) Methods in org.apache.cassandra.db.lifecycle that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionView.allKnownSSTables()static List<Interval<PartitionPosition,SSTableReader>> SSTableIntervalTree.buildIntervals(Collection<SSTableReader> sstables) static Interval<PartitionPosition,SSTableReader>[] SSTableIntervalTree.buildIntervalsArray(Collection<SSTableReader> sstables) LifecycleTransaction.current()returns the currently visible readers managed by this transactionTracker.getCompacting()Tracker.getUncompacting()Tracker.getUncompacting(Iterable<SSTableReader> candidates) View.getUncompacting(Iterable<SSTableReader> candidates) View.liveSSTables()View.liveSSTablesInBounds(PartitionPosition left, PartitionPosition right) Returns the sstables that have any partition betweenleftandright, when both bounds are taken inclusively.ILifecycleTransaction.originals()LifecycleTransaction.originals()the set of readers guarded by this transaction _in their original instance/state_ call current(SSTableReader) on any reader in this set to get the latest instanceWrappedLifecycleTransaction.originals()View.select(SSTableSet sstableSet) static com.google.common.base.Function<View,Iterable<SSTableReader>> View.select(SSTableSet sstableSet, com.google.common.base.Predicate<SSTableReader> filter) static com.google.common.base.Function<View,Iterable<SSTableReader>> View.select(SSTableSet sstableSet, DecoratedKey key) static com.google.common.base.Function<View,Iterable<SSTableReader>> View.selectFunction(SSTableSet sstableSet) static com.google.common.base.Function<View,Iterable<SSTableReader>> View.selectLive(AbstractBounds<PartitionPosition> rowBounds) View.sstables(SSTableSet sstableSet, com.google.common.base.Predicate<SSTableReader> filter) static List<SSTableReader>View.sstablesInBounds(PartitionPosition left, PartitionPosition right, SSTableIntervalTree intervalTree) Methods in org.apache.cassandra.db.lifecycle with parameters of type SSTableReaderModifier and TypeMethodDescriptionvoidLifecycleTransaction.cancel(SSTableReader cancel) remove the reader from the set we're modifyingILifecycleTransaction.current(SSTableReader reader) LifecycleTransaction.current(SSTableReader reader) return the current version of the provided reader, whether or not it is visible or staged; i.e.WrappedLifecycleTransaction.current(SSTableReader reader) booleanILifecycleTransaction.isObsolete(SSTableReader reader) booleanLifecycleTransaction.isObsolete(SSTableReader reader) indicates if the reader has been marked for obsoletionbooleanWrappedLifecycleTransaction.isObsolete(SSTableReader reader) voidTracker.notifyDeleting(SSTableReader deleting) voidTracker.notifySSTableMetadataChanged(SSTableReader levelChanged, StatsMetadata oldMetadata) voidILifecycleTransaction.obsolete(SSTableReader reader) voidLifecycleTransaction.obsolete(SSTableReader reader) mark this reader as for obsoletion : on checkpoint() the reader will be removed from the live setvoidWrappedLifecycleTransaction.obsolete(SSTableReader reader) static LifecycleTransactionLifecycleTransaction.offline(OperationType operationType, SSTableReader reader) construct a Transaction for use in an offline operationLifecycleTransaction.state(SSTableReader reader) Tracker.tryModify(SSTableReader sstable, OperationType operationType) voidILifecycleTransaction.update(SSTableReader reader, boolean original) voidLifecycleTransaction.update(SSTableReader reader, boolean original) update a reader: if !original, this is a reader that is being introduced by this transaction; otherwise it must be in the originals() set, i.e.voidWrappedLifecycleTransaction.update(SSTableReader reader, boolean original) static SSTableReaderLifecycleTransaction.ReaderState.visible(SSTableReader reader, com.google.common.base.Predicate<SSTableReader> obsolete, Collection<SSTableReader>... selectFrom) Method parameters in org.apache.cassandra.db.lifecycle with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidTracker.addInitialSSTables(Collection<SSTableReader> sstables) voidTracker.addInitialSSTablesWithoutUpdatingSize(Collection<SSTableReader> sstables) voidTracker.addSSTables(Collection<SSTableReader> sstables) static List<Interval<PartitionPosition,SSTableReader>> SSTableIntervalTree.buildIntervals(Collection<SSTableReader> sstables) static Interval<PartitionPosition,SSTableReader>[] SSTableIntervalTree.buildIntervalsArray(Collection<SSTableReader> sstables) static SSTableIntervalTreeSSTableIntervalTree.buildSSTableIntervalTree(Collection<SSTableReader> sstables) voidLifecycleTransaction.cancel(Iterable<SSTableReader> cancels) remove the readers from the set we're modifyingTracker.dropSSTables(com.google.common.base.Predicate<SSTableReader> remove, OperationType operationType, Throwable accumulate) removes all sstables that are not busy compacting.Tracker.getUncompacting(Iterable<SSTableReader> candidates) View.getUncompacting(Iterable<SSTableReader> candidates) voidTracker.maybeIncrementallyBackup(Iterable<SSTableReader> sstables) voidTracker.notifySSTableRepairedStatusChanged(Collection<SSTableReader> repairStatusesChanged) static LifecycleTransactionLifecycleTransaction.offline(OperationType operationType, Collection<SSTableReader> readers) construct a Transaction for use in an offline operationvoidTracker.removeUnsafe(Set<SSTableReader> toRemove) voidTracker.replaceFlushed(Memtable memtable, Collection<SSTableReader> sstables) static com.google.common.base.Function<View,Iterable<SSTableReader>> View.select(SSTableSet sstableSet, com.google.common.base.Predicate<SSTableReader> filter) LifecycleTransaction.split(Collection<SSTableReader> readers) remove the provided readers from this Transaction, and return a new Transaction to manage them only permitted to be called if the current Transaction has never been usedView.sstables(SSTableSet sstableSet, com.google.common.base.Predicate<SSTableReader> filter) Tracker.tryModify(Iterable<? extends SSTableReader> sstables, OperationType operationType) voidILifecycleTransaction.update(Collection<SSTableReader> readers, boolean original) voidLifecycleTransaction.update(Collection<SSTableReader> readers, boolean original) static SSTableIntervalTreeSSTableIntervalTree.update(SSTableIntervalTree tree, Collection<SSTableReader> removals, Collection<SSTableReader> additions) voidWrappedLifecycleTransaction.update(Collection<SSTableReader> readers, boolean original) voidTracker.updateInitialSSTableSize(Iterable<SSTableReader> sstables) static SSTableReaderLifecycleTransaction.ReaderState.visible(SSTableReader reader, com.google.common.base.Predicate<SSTableReader> obsolete, Collection<SSTableReader>... selectFrom) Constructors in org.apache.cassandra.db.lifecycle with parameters of type SSTableReaderModifierConstructorDescriptionReaderState(LifecycleTransaction.ReaderState.Action logged, LifecycleTransaction.ReaderState.Action staged, SSTableReader currentlyVisible, SSTableReader nextVisible, boolean original) -
Uses of SSTableReader in org.apache.cassandra.db.repair
Methods in org.apache.cassandra.db.repair that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic Refs<SSTableReader>CassandraValidationIterator.getSSTablesToValidate(ColumnFamilyStore cfs, SharedContext ctx, Collection<Range<Token>> ranges, TimeUUID parentId, boolean isIncremental) -
Uses of SSTableReader in org.apache.cassandra.db.rows
Constructors in org.apache.cassandra.db.rows with parameters of type SSTableReaderModifierConstructorDescriptionUnfilteredRowIteratorWithLowerBound(DecoratedKey partitionKey, SSTableReader sstable, ClusteringIndexFilter filter, ColumnFilter selectedColumns, SSTableReadsListener listener) UnfilteredRowIteratorWithLowerBound(DecoratedKey partitionKey, SSTableReader sstable, Slices slices, boolean isReverseOrder, ColumnFilter selectedColumns, SSTableReadsListener listener) -
Uses of SSTableReader in org.apache.cassandra.db.streaming
Fields in org.apache.cassandra.db.streaming declared as SSTableReaderFields in org.apache.cassandra.db.streaming with type parameters of type SSTableReaderModifier and TypeFieldDescriptionprotected final Collection<SSTableReader>CassandraStreamReceiver.sstablesMethods in org.apache.cassandra.db.streaming that return types with arguments of type SSTableReaderMethods in org.apache.cassandra.db.streaming with parameters of type SSTableReaderModifier and TypeMethodDescriptionbooleanCassandraOutgoingFile.contained(List<SSTableReader.PartitionPositionBounds> sections, SSTableReader sstable) Constructors in org.apache.cassandra.db.streaming with parameters of type SSTableReaderModifierConstructorDescriptionCassandraCompressedStreamWriter(SSTableReader sstable, CassandraStreamHeader header, StreamSession session) CassandraEntireSSTableStreamWriter(SSTableReader sstable, StreamSession session, ComponentContext context) CassandraStreamWriter(SSTableReader sstable, CassandraStreamHeader header, StreamSession session) Constructor parameters in org.apache.cassandra.db.streaming with type arguments of type SSTableReaderModifierConstructorDescriptionCassandraOutgoingFile(StreamOperation operation, Ref<SSTableReader> ref, List<SSTableReader.PartitionPositionBounds> sections, List<Range<Token>> normalizedRanges, long estimatedKeys) -
Uses of SSTableReader in org.apache.cassandra.index
Method parameters in org.apache.cassandra.index with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidSecondaryIndexManager.buildSSTableAttachedIndexesBlocking(Collection<SSTableReader> sstables) Incrementally builds indexes for the specified SSTables in a blocking fashion.Index.CollatedViewIndexBuildingSupport.getIndexBuildTask(ColumnFamilyStore cfs, Set<Index> indexes, Collection<SSTableReader> sstables, boolean isFullRebuild) Index.IndexBuildingSupport.getIndexBuildTask(ColumnFamilyStore cfs, Set<Index> indexes, Collection<SSTableReader> sstables, boolean isFullRebuild) default booleanIndex.Group.validateSSTableAttachedIndexes(Collection<SSTableReader> sstables, boolean throwOnIncomplete, boolean validateChecksum) Validates all indexes in the group against the specified SSTables.booleanSecondaryIndexManager.validateSSTableAttachedIndexes(Collection<SSTableReader> sstables, boolean throwOnIncomplete, boolean validateChecksum) Validates all index groups against the specified SSTables. -
Uses of SSTableReader in org.apache.cassandra.index.internal
Constructor parameters in org.apache.cassandra.index.internal with type arguments of type SSTableReaderModifierConstructorDescriptionCollatedViewIndexBuilder(ColumnFamilyStore cfs, Set<Index> indexers, ReducingKeyIterator iter, Collection<SSTableReader> sstables) -
Uses of SSTableReader in org.apache.cassandra.index.sai
Fields in org.apache.cassandra.index.sai declared as SSTableReaderMethods in org.apache.cassandra.index.sai that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic List<List<SSTableReader>>StorageAttachedIndex.groupBySize(List<SSTableReader> toRebuild, int parallelism) Splits SSTables into groups of similar overall size.SSTableContextManager.update(Collection<SSTableReader> removed, Iterable<SSTableReader> added, IndexValidation validation) InitializeSSTableContexts if they are not already initialized.Methods in org.apache.cassandra.index.sai with parameters of type SSTableReaderModifier and TypeMethodDescriptionstatic SSTableContextSSTableContext.create(SSTableReader sstable) StorageAttachedIndexGroup.getLiveComponents(SSTableReader sstable, Collection<StorageAttachedIndex> indices) Method parameters in org.apache.cassandra.index.sai with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidStorageAttachedIndex.drop(Collection<SSTableReader> sstablesToRebuild) static List<List<SSTableReader>>StorageAttachedIndex.groupBySize(List<SSTableReader> toRebuild, int parallelism) Splits SSTables into groups of similar overall size.StorageAttachedIndex.onSSTableChanged(Collection<SSTableReader> oldSSTables, Collection<SSTableContext> newSSTables, IndexValidation validation) voidSSTableContextManager.release(Collection<SSTableReader> toRelease) SSTableContextManager.update(Collection<SSTableReader> removed, Iterable<SSTableReader> added, IndexValidation validation) InitializeSSTableContexts if they are not already initialized.SSTableContextManager.update(Collection<SSTableReader> removed, Iterable<SSTableReader> added, IndexValidation validation) InitializeSSTableContexts if they are not already initialized.booleanStorageAttachedIndexGroup.validateSSTableAttachedIndexes(Collection<SSTableReader> sstables, boolean throwOnIncomplete, boolean validateChecksum) -
Uses of SSTableReader in org.apache.cassandra.index.sai.disk
Methods in org.apache.cassandra.index.sai.disk that return SSTableReader -
Uses of SSTableReader in org.apache.cassandra.index.sai.disk.format
Methods in org.apache.cassandra.index.sai.disk.format with parameters of type SSTableReaderModifier and TypeMethodDescriptionstatic IndexDescriptorIndexDescriptor.create(SSTableReader sstable) IndexDescriptor.newPrimaryKeyMapFactory(SSTableReader sstable) OnDiskFormat.newPrimaryKeyMapFactory(IndexDescriptor indexDescriptor, SSTableReader sstable) Returns aPrimaryKeyMap.Factoryfor the SSTable -
Uses of SSTableReader in org.apache.cassandra.index.sai.disk.v1
Methods in org.apache.cassandra.index.sai.disk.v1 with parameters of type SSTableReaderModifier and TypeMethodDescriptionV1OnDiskFormat.newPrimaryKeyMapFactory(IndexDescriptor indexDescriptor, SSTableReader sstable) Constructors in org.apache.cassandra.index.sai.disk.v1 with parameters of type SSTableReader -
Uses of SSTableReader in org.apache.cassandra.index.sai.view
Methods in org.apache.cassandra.index.sai.view with parameters of type SSTableReaderMethod parameters in org.apache.cassandra.index.sai.view with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidIndexViewManager.drop(Collection<SSTableReader> sstablesToRebuild) IndexViewManager.update(Collection<SSTableReader> oldSSTables, Collection<SSTableContext> newSSTableContexts, IndexValidation validation) Replaces old SSTables with new by creating new immutable view. -
Uses of SSTableReader in org.apache.cassandra.index.sasi
Methods in org.apache.cassandra.index.sasi that return SSTableReaderConstructors in org.apache.cassandra.index.sasi with parameters of type SSTableReaderModifierConstructorDescriptionSSTableIndex(ColumnIndex index, File indexFile, SSTableReader referent) -
Uses of SSTableReader in org.apache.cassandra.index.sasi.conf
Methods in org.apache.cassandra.index.sasi.conf that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionColumnIndex.init(Set<SSTableReader> sstables) Initialize this column index with specific set of SSTables.DataTracker.update(Collection<SSTableReader> oldSSTables, Collection<SSTableReader> newSSTables) Replaces old SSTables with new by creating new immutable tracker.Methods in org.apache.cassandra.index.sasi.conf with parameters of type SSTableReaderModifier and TypeMethodDescriptionbooleanColumnIndex.hasSSTable(SSTableReader sstable) booleanDataTracker.hasSSTable(SSTableReader sstable) Method parameters in org.apache.cassandra.index.sasi.conf with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidColumnIndex.dropData(Collection<SSTableReader> sstablesToRebuild) voidDataTracker.dropData(Collection<SSTableReader> sstablesToRebuild) ColumnIndex.init(Set<SSTableReader> sstables) Initialize this column index with specific set of SSTables.voidColumnIndex.update(Collection<SSTableReader> oldSSTables, Collection<SSTableReader> newSSTables) DataTracker.update(Collection<SSTableReader> oldSSTables, Collection<SSTableReader> newSSTables) Replaces old SSTables with new by creating new immutable tracker. -
Uses of SSTableReader in org.apache.cassandra.io.sstable
Classes in org.apache.cassandra.io.sstable with type parameters of type SSTableReaderModifier and TypeClassDescriptionclassAbstractMetricsProviders<R extends SSTableReader>classSimpleGaugeProvider<T extends Number,R extends SSTableReader> Fields in org.apache.cassandra.io.sstable declared as SSTableReaderMethods in org.apache.cassandra.io.sstable that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionRangeAwareSSTableWriter.finish(boolean openResult) SimpleSSTableMultiWriter.finish(boolean openResult) SSTableMultiWriter.finish(boolean openResult) SSTableRewriter.finish()Finishes the new file(s) Creates final files, adds the new files to the Tracker (via replaceReader).SSTableTxnWriter.finish(boolean openResult) SSTableZeroCopyWriter.finish(boolean openResult) RangeAwareSSTableWriter.finished()SimpleSSTableMultiWriter.finished()SSTableMultiWriter.finished()SSTableRewriter.finished()SSTableZeroCopyWriter.finished()EmptySSTableScanner.getBackingSSTables()ISSTableScanner.getBackingSSTables()Methods in org.apache.cassandra.io.sstable with parameters of type SSTableReaderModifier and TypeMethodDescriptionstatic SSTableIdentityIteratorSSTableIdentityIterator.create(SSTableReader sstable, FileDataInput dfile, boolean tombstoneOnly) static SSTableIdentityIteratorSSTableIdentityIterator.create(SSTableReader sstable, FileDataInput dfile, long dataPosition, DecoratedKey key, boolean tombstoneOnly) static SSTableIdentityIteratorSSTableIdentityIterator.create(SSTableReader sstable, RandomAccessReader file, DecoratedKey key) protected abstract RAbstractMetricsProviders.map(SSTableReader r) default voidSSTableReadsListener.onScanningStarted(SSTableReader sstable) Handles notification that the specified SSTable is being scanned during a partition range query.default voidSSTableReadsListener.onSSTableSelected(SSTableReader sstable, SSTableReadsListener.SelectionReason reason) Handles notification that the specified SSTable has been selected during a single partition query.default voidSSTableReadsListener.onSSTableSkipped(SSTableReader sstable, SSTableReadsListener.SkippingReason reason) Handles notification that the specified SSTable has been skipped during a single partition query.Method parameters in org.apache.cassandra.io.sstable with type arguments of type SSTableReaderModifier and TypeMethodDescriptionCQLSSTableWriter.Builder.withSSTableProducedListener(Consumer<Collection<SSTableReader>> sstableProducedListener) Set the listener to receive notifications on sstable producedConstructors in org.apache.cassandra.io.sstable with parameters of type SSTableReaderModifierConstructorDescriptionprotectedAbstractSSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RIE indexEntry, Slices slices, ColumnFilter columnFilter, FileHandle ifile) EmptySSTableScanner(SSTableReader sstable) SSTableIdentityIterator(SSTableReader sstable, DecoratedKey key, DeletionTime partitionLevelDeletion, String filename, SSTableSimpleIterator iterator) Constructor parameters in org.apache.cassandra.io.sstable with type arguments of type SSTableReaderModifierConstructorDescriptionReducingKeyIterator(Collection<SSTableReader> sstables) SimpleGaugeProvider(Function<SSTableReader, R> mapper, String name, Function<Iterable<R>, T> combiner) -
Uses of SSTableReader in org.apache.cassandra.io.sstable.filter
Methods in org.apache.cassandra.io.sstable.filter with parameters of type SSTableReader -
Uses of SSTableReader in org.apache.cassandra.io.sstable.format
Classes in org.apache.cassandra.io.sstable.format with type parameters of type SSTableReaderModifier and TypeClassDescriptionclassAbstractSSTableFormat<R extends SSTableReader,W extends SSTableWriter> classSortedTableReaderLoadingBuilder<R extends SSTableReader,B extends SSTableReader.Builder<R, B>> interfaceSSTableFormat<R extends SSTableReader,W extends SSTableWriter> Provides the accessors to data on disk.static interfaceSSTableFormat.KeyCacheValueSerializer<R extends SSTableReader,T extends AbstractRowIndexEntry> static interfaceSSTableFormat.SSTableReaderFactory<R extends SSTableReader,B extends SSTableReader.Builder<R, B>> static classSSTableReader.Builder<R extends SSTableReader,B extends SSTableReader.Builder<R, B>> A builder of this sstable reader.classSSTableReaderLoadingBuilder<R extends SSTableReader,B extends SSTableReader.Builder<R, B>> classSSTableScanner<S extends SSTableReader,E extends AbstractRowIndexEntry, I extends SSTableScanner<S, E, I>.BaseKeyScanningIterator> Subclasses of SSTableReader in org.apache.cassandra.io.sstable.formatFields in org.apache.cassandra.io.sstable.format declared as SSTableReaderFields in org.apache.cassandra.io.sstable.format with type parameters of type SSTableReaderModifier and TypeFieldDescriptionstatic final Comparator<SSTableReader>SSTableReader.firstKeyComparatorstatic final com.google.common.collect.Ordering<SSTableReader>SSTableReader.firstKeyOrderingstatic final Comparator<SSTableReader>SSTableReader.idComparatorstatic final Comparator<SSTableReader>SSTableReader.idReverseComparatorstatic final Comparator<SSTableReader>SSTableReader.lastKeyComparatorstatic final Comparator<SSTableReader>SSTableReader.maxTimestampAscendingstatic final Comparator<SSTableReader>SSTableReader.maxTimestampDescendingstatic final Comparator<SSTableReader>SSTableReader.sizeComparatorMethods in org.apache.cassandra.io.sstable.format that return SSTableReaderModifier and TypeMethodDescriptionabstract SSTableReaderSSTableReader.cloneWithNewStart(DecoratedKey newStart) abstract SSTableReaderSSTableReader.cloneWithRestoredStart(DecoratedKey restoredStart) SSTableWriter.finish(boolean openResult) SSTableWriter.finished()Open the resultant SSTableReader once it has been fully written, and all related state is ready to be finalised including other sstables being written involved in the same operationstatic SSTableReaderSSTableReader.moveAndOpenSSTable(ColumnFamilyStore cfs, Descriptor oldDescriptor, Descriptor newDescriptor, Set<Component> components, boolean copyData) Moves the sstable in oldDescriptor to a new place (with generation etc) in newDescriptor.static SSTableReaderSSTableReader.open(SSTable.Owner owner, Descriptor descriptor) static SSTableReaderSSTableReader.open(SSTable.Owner owner, Descriptor descriptor, Set<Component> components, TableMetadataRef metadata) static SSTableReaderSSTableReader.open(SSTable.Owner owner, Descriptor descriptor, Set<Component> components, TableMetadataRef metadata, boolean validate, boolean isOffline) Open an SSTable for readingstatic SSTableReaderSSTableReader.open(SSTable.Owner owner, Descriptor desc, TableMetadataRef metadata) protected abstract SSTableReaderSSTableWriter.openFinal(SSTableReader.OpenReason openReason) abstract SSTableReaderSSTableWriter.openFinalEarly()Open the resultant SSTableReader once it has been fully written, but before the _set_ of tables that are being written together as one atomic operation are all readystatic SSTableReaderSSTableReader.openForBatch(SSTable.Owner owner, Descriptor descriptor, Set<Component> components, TableMetadataRef metadata) Open SSTable reader to be used in batch mode(such as sstableloader).static SSTableReaderSSTableReader.openNoValidation(Descriptor descriptor, Set<Component> components, ColumnFamilyStore cfs) static SSTableReaderSSTableReader.openNoValidation(SSTable.Owner owner, Descriptor descriptor, TableMetadataRef metadata) Methods in org.apache.cassandra.io.sstable.format that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionSSTableScanner.getBackingSSTables()SSTableSimpleScanner.getBackingSSTables()SSTableReader.getInterval()static Collection<SSTableReader>SSTableReader.openAll(SSTable.Owner owner, Set<Map.Entry<Descriptor, Set<Component>>> entries, TableMetadataRef metadata) SSTableReader.ref()SSTableReader.selfRef()SSTableReader.tryRef()Methods in org.apache.cassandra.io.sstable.format with parameters of type SSTableReaderModifier and TypeMethodDescriptionintSSTableReader.compareTo(SSTableReader other) protected voidSortedTableVerifier.deserializeBloomFilter(SSTableReader sstable) protected static List<AbstractBounds<PartitionPosition>>SSTableScanner.makeBounds(SSTableReader sstable, DataRange dataRange) voidSSTableReader.InstanceTidier.setup(SSTableReader reader, boolean trackHotness, Collection<? extends AutoCloseable> closeables) Method parameters in org.apache.cassandra.io.sstable.format with type arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic longSSTableReader.getApproximateKeyCount(Iterable<SSTableReader> sstables) Calculate approximate key count.static longSSTableReader.getTotalBytes(Iterable<SSTableReader> sstables) static longSSTableReader.getTotalUncompressedBytes(Iterable<SSTableReader> sstables) abstract voidSSTableWriter.openEarly(Consumer<SSTableReader> doWhenReady) Open the resultant SSTableReader before it has been fully written.Constructors in org.apache.cassandra.io.sstable.format with parameters of type SSTableReaderModifierConstructorDescriptionScrubInfo(RandomAccessReader dataFile, SSTableReader sstable, Lock fileReadLock) SSTableSimpleScanner(SSTableReader sstable, Collection<SSTableReader.PartitionPositionBounds> boundsList) VerifyInfo(RandomAccessReader dataFile, SSTableReader sstable, Lock fileReadLock) -
Uses of SSTableReader in org.apache.cassandra.io.sstable.format.big
Subclasses of SSTableReader in org.apache.cassandra.io.sstable.format.bigModifier and TypeClassDescriptionclassSSTableReaders are open()ed by Keyspace.onStart; after that they are created by SSTableWriter.renameAndOpen.Methods in org.apache.cassandra.io.sstable.format.big that return SSTableReaderModifier and TypeMethodDescriptionBigTableReader.cloneWithNewStart(DecoratedKey newStart) BigTableReader.cloneWithRestoredStart(DecoratedKey restoredStart) BigTableWriter.openFinal(SSTableReader.OpenReason openReason) BigTableWriter.openFinalEarly()Method parameters in org.apache.cassandra.io.sstable.format.big with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidBigTableWriter.openEarly(Consumer<SSTableReader> doWhenReady) Constructors in org.apache.cassandra.io.sstable.format.big with parameters of type SSTableReaderModifierConstructorDescriptionSSTableIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile) SSTableReversedIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry, Slices slices, ColumnFilter columns, FileHandle ifile) -
Uses of SSTableReader in org.apache.cassandra.io.sstable.format.bti
Subclasses of SSTableReader in org.apache.cassandra.io.sstable.format.btiModifier and TypeClassDescriptionclassReader of SSTable files in BTI format (seeBtiFormat), written byBtiTableWriter.Methods in org.apache.cassandra.io.sstable.format.bti that return SSTableReaderModifier and TypeMethodDescriptionprotected SSTableReaderBtiTableWriter.openFinal(SSTableReader.OpenReason openReason) BtiTableWriter.openFinalEarly()Method parameters in org.apache.cassandra.io.sstable.format.bti with type arguments of type SSTableReaderModifier and TypeMethodDescriptionvoidBtiTableWriter.openEarly(Consumer<SSTableReader> callWhenReady) -
Uses of SSTableReader in org.apache.cassandra.io.sstable.indexsummary
Classes in org.apache.cassandra.io.sstable.indexsummary with type parameters of type SSTableReaderModifier and TypeClassDescriptionclassIndexSummaryManager<T extends SSTableReader & IndexSummarySupport<T>>Manages the fixed-size memory pool for index summaries, periodically resizing them in order to give more memory to hot sstables and less memory to cold sstables.classIndexSummaryMetrics<R extends SSTableReader & IndexSummarySupport<R>>interfaceIndexSummarySupport<T extends SSTableReader & IndexSummarySupport<T>>Methods in org.apache.cassandra.io.sstable.indexsummary with type parameters of type SSTableReaderModifier and TypeMethodDescriptionstatic <T extends SSTableReader & IndexSummarySupport>
List<T>IndexSummaryManager.redistributeSummaries(IndexSummaryRedistribution redistribution) Attempts to fairly distribute a fixed pool of memory for index summaries across a set of SSTables based on their recent read rates.<T extends SSTableReader & IndexSummarySupport<T>>
List<T>IndexSummaryRedistribution.redistributeSummaries()Methods in org.apache.cassandra.io.sstable.indexsummary with parameters of type SSTableReader -
Uses of SSTableReader in org.apache.cassandra.io.sstable.keycache
Classes in org.apache.cassandra.io.sstable.keycache with type parameters of type SSTableReaderModifier and TypeClassDescriptionclassKeyCacheMetrics<R extends SSTableReader & KeyCacheSupport<R>>interfaceKeyCacheSupport<T extends SSTableReader & KeyCacheSupport<T>>Methods in org.apache.cassandra.io.sstable.keycache with parameters of type SSTableReader -
Uses of SSTableReader in org.apache.cassandra.io.sstable.metadata
Constructor parameters in org.apache.cassandra.io.sstable.metadata with type arguments of type SSTableReaderModifierConstructorDescriptionMetadataCollector(Iterable<SSTableReader> sstables, ClusteringComparator comparator) -
Uses of SSTableReader in org.apache.cassandra.notifications
Fields in org.apache.cassandra.notifications declared as SSTableReaderModifier and TypeFieldDescriptionfinal SSTableReaderSSTableDeletingNotification.deletingfinal SSTableReaderSSTableMetadataChanged.sstableFields in org.apache.cassandra.notifications with type parameters of type SSTableReaderModifier and TypeFieldDescriptionfinal Iterable<SSTableReader>InitialSSTableAddedNotification.addedtrueif the addition corresponds to theColumnFamilyStoreinitialization, then the sstables are those loaded at startup.final Iterable<SSTableReader>SSTableAddedNotification.addedThe added SSTablesfinal Collection<SSTableReader>SSTableListChangedNotification.addedfinal Collection<SSTableReader>SSTableListChangedNotification.removedfinal Collection<SSTableReader>SSTableRepairStatusChanged.sstablesConstructors in org.apache.cassandra.notifications with parameters of type SSTableReaderModifierConstructorDescriptionSSTableDeletingNotification(SSTableReader deleting) SSTableMetadataChanged(SSTableReader levelChanged, StatsMetadata oldMetadata) Constructor parameters in org.apache.cassandra.notifications with type arguments of type SSTableReaderModifierConstructorDescriptionSSTableAddedNotification(Iterable<SSTableReader> added, Memtable memtable) Creates a newSSTableAddedNotificationfor the specified SSTables and optional memtable.SSTableListChangedNotification(Collection<SSTableReader> added, Collection<SSTableReader> removed, OperationType compactionType) SSTableRepairStatusChanged(Collection<SSTableReader> repairStatusChanged) -
Uses of SSTableReader in org.apache.cassandra.repair.consistent.admin
Methods in org.apache.cassandra.repair.consistent.admin with parameters of type SSTableReader -
Uses of SSTableReader in org.apache.cassandra.streaming
Methods in org.apache.cassandra.streaming that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptioncom.google.common.base.Predicate<SSTableReader>PreviewKind.predicate() -
Uses of SSTableReader in org.apache.cassandra.tools
Methods in org.apache.cassandra.tools that return types with arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<SSTableReader,SSTableReader> SSTableExpiredBlockers.checkForExpiredSSTableBlockers(Iterable<SSTableReader> sstables, long gcBefore) static com.google.common.collect.Multimap<SSTableReader,SSTableReader> SSTableExpiredBlockers.checkForExpiredSSTableBlockers(Iterable<SSTableReader> sstables, long gcBefore) Method parameters in org.apache.cassandra.tools with type arguments of type SSTableReaderModifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<SSTableReader,SSTableReader> SSTableExpiredBlockers.checkForExpiredSSTableBlockers(Iterable<SSTableReader> sstables, long gcBefore)