TimeWindowCompactionStrategy@Deprecated public class DateTieredCompactionStrategy extends AbstractCompactionStrategy
AbstractCompactionStrategy.ScannerList| Modifier and Type | Field and Description | 
|---|---|
| protected int | estimatedRemainingTasksDeprecated.  | 
cfs, COMPACTION_ENABLED, DEFAULT_LOG_ALL_OPTION, DEFAULT_TOMBSTONE_COMPACTION_INTERVAL, DEFAULT_TOMBSTONE_THRESHOLD, DEFAULT_UNCHECKED_TOMBSTONE_COMPACTION_OPTION, disableTombstoneCompactions, isActive, LOG_ALL_OPTION, logAll, ONLY_PURGE_REPAIRED_TOMBSTONES, TOMBSTONE_COMPACTION_INTERVAL_OPTION, TOMBSTONE_THRESHOLD_OPTION, tombstoneCompactionInterval, tombstoneThreshold, UNCHECKED_TOMBSTONE_COMPACTION_OPTION, uncheckedTombstoneCompaction| Constructor and Description | 
|---|
| DateTieredCompactionStrategy(ColumnFamilyStore cfs,
                            java.util.Map<java.lang.String,java.lang.String> options)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addSSTable(SSTableReader sstable)Deprecated.  | 
| static java.util.List<Pair<SSTableReader,java.lang.Long>> | createSSTableAndMinTimestampPairs(java.lang.Iterable<SSTableReader> sstables)Deprecated.  | 
| int | getEstimatedRemainingTasks()Deprecated.  | 
| java.util.Collection<AbstractCompactionTask> | getMaximalTask(int gcBefore,
              boolean splitOutput)Deprecated.  | 
| long | getMaxSSTableBytes()Deprecated.  | 
| AbstractCompactionTask | getNextBackgroundTask(int gcBefore)Deprecated.  | 
| AbstractCompactionTask | getUserDefinedTask(java.util.Collection<SSTableReader> sstables,
                  int gcBefore)Deprecated.  | 
| java.util.Collection<java.util.Collection<SSTableReader>> | groupSSTablesForAntiCompaction(java.util.Collection<SSTableReader> sstablesToGroup)Deprecated.  DTCS should not group sstables for anticompaction - this can mix new and old data | 
| void | removeSSTable(SSTableReader sstable)Deprecated.  | 
| CompactionLogger.Strategy | strategyLogger()Deprecated.  | 
| java.lang.String | toString()Deprecated.  | 
| static java.util.Map<java.lang.String,java.lang.String> | validateOptions(java.util.Map<java.lang.String,java.lang.String> options)Deprecated.  | 
addSSTables, createSSTableMultiWriter, disable, enable, filterSuspectSSTables, getCompactionTask, getDirectories, getMemtableReservedSize, getName, getScanners, getScanners, getScanners, isAffectedByMeteredFlusher, pause, replaceFlushed, replaceSSTables, resume, shouldBeEnabled, shouldDefragment, shutdown, startup, supportsEarlyOpen, worthDroppingTombstonespublic DateTieredCompactionStrategy(ColumnFamilyStore cfs, java.util.Map<java.lang.String,java.lang.String> options)
public AbstractCompactionTask getNextBackgroundTask(int gcBefore)
getNextBackgroundTask in class AbstractCompactionStrategygcBefore - throw away tombstones older than thispublic static java.util.List<Pair<SSTableReader,java.lang.Long>> createSSTableAndMinTimestampPairs(java.lang.Iterable<SSTableReader> sstables)
sstables - public void addSSTable(SSTableReader sstable)
addSSTable in class AbstractCompactionStrategypublic void removeSSTable(SSTableReader sstable)
removeSSTable in class AbstractCompactionStrategypublic java.util.Collection<AbstractCompactionTask> getMaximalTask(int gcBefore, boolean splitOutput)
getMaximalTask in class AbstractCompactionStrategygcBefore - throw away tombstones older than thispublic AbstractCompactionTask getUserDefinedTask(java.util.Collection<SSTableReader> sstables, int gcBefore)
getUserDefinedTask in class AbstractCompactionStrategysstables - SSTables to compact. Must be marked as compacting.gcBefore - throw away tombstones older than thispublic int getEstimatedRemainingTasks()
getEstimatedRemainingTasks in class AbstractCompactionStrategypublic long getMaxSSTableBytes()
getMaxSSTableBytes in class AbstractCompactionStrategypublic java.util.Collection<java.util.Collection<SSTableReader>> groupSSTablesForAntiCompaction(java.util.Collection<SSTableReader> sstablesToGroup)
groupSSTablesForAntiCompaction in class AbstractCompactionStrategypublic static java.util.Map<java.lang.String,java.lang.String> validateOptions(java.util.Map<java.lang.String,java.lang.String> options)
                                                                        throws ConfigurationException
ConfigurationExceptionpublic CompactionLogger.Strategy strategyLogger()
strategyLogger in class AbstractCompactionStrategypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation