public interface CompactStrategy
Modifier and Type | Method and Description |
---|---|
Optional<CompactUnit> |
pick(int numLevels,
List<LevelSortedRun> runs)
Pick compaction unit from runs.
|
static Optional<CompactUnit> |
pickFullCompaction(int numLevels,
List<LevelSortedRun> runs)
Pick a compaction unit consisting of all existing files.
|
Optional<CompactUnit> pick(int numLevels, List<LevelSortedRun> runs)
static Optional<CompactUnit> pickFullCompaction(int numLevels, List<LevelSortedRun> runs)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.