pub trait Picker:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn pick(&self, compaction_region: &CompactionRegion) -> Option<PickerOutput>;
}
Expand description
Picker picks input SST files for compaction. Different compaction strategy may implement different pickers.
Required Methods§
Sourcefn pick(&self, compaction_region: &CompactionRegion) -> Option<PickerOutput>
fn pick(&self, compaction_region: &CompactionRegion) -> Option<PickerOutput>
Picks input SST files for compaction.