public class ForceUpLevel0Compaction extends Object implements CompactStrategy
CompactStrategy to force compacting level 0 files.| Constructor and Description |
|---|
ForceUpLevel0Compaction(UniversalCompaction universal) |
| Modifier and Type | Method and Description |
|---|---|
Optional<CompactUnit> |
pick(int numLevels,
List<LevelSortedRun> runs)
Pick compaction unit from runs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpickFullCompactionpublic ForceUpLevel0Compaction(UniversalCompaction universal)
public Optional<CompactUnit> pick(int numLevels, List<LevelSortedRun> runs)
CompactStrategypick in interface CompactStrategyCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.