mito2::compaction::picker

Trait Picker

Source
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§

Source

fn pick(&self, compaction_region: &CompactionRegion) -> Option<PickerOutput>

Picks input SST files for compaction.

Implementors§