Class SSTableSplitter.SplitController
- java.lang.Object
-
- org.apache.cassandra.db.AbstractCompactionController
-
- org.apache.cassandra.db.compaction.CompactionController
-
- org.apache.cassandra.db.compaction.SSTableSplitter.SplitController
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- SSTableSplitter
public static class SSTableSplitter.SplitController extends CompactionController
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.db.AbstractCompactionController
cfs, gcBefore, tombstoneOption
-
-
Constructor Summary
Constructors Constructor Description SplitController(ColumnFamilyStore cfs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.LongPredicate
getPurgeEvaluator(DecoratedKey key)
-
Methods inherited from class org.apache.cassandra.db.compaction.CompactionController
close, compactingRepaired, getFullyExpiredSSTables, getFullyExpiredSSTables, getFullyExpiredSSTables, ignoreOverlaps, maybeRefreshOverlaps, shadowSources
-
Methods inherited from class org.apache.cassandra.db.AbstractCompactionController
getColumnFamily, getKeyspace
-
-
-
-
Constructor Detail
-
SplitController
public SplitController(ColumnFamilyStore cfs)
-
-
Method Detail
-
getPurgeEvaluator
public java.util.function.LongPredicate getPurgeEvaluator(DecoratedKey key)
- Overrides:
getPurgeEvaluator
in classCompactionController
- Returns:
- a predicate for whether tombstones marked for deletion at the given time for the given partition are purgeable; we calculate this by checking whether the deletion time is less than the min timestamp of all SSTables containing his partition and not participating in the compaction. This means there isn't any data in those sstables that might still need to be suppressed by a tombstone at this timestamp.
-
-