risingwave_meta::hummock::compaction::picker

Trait CompactionPicker

source
pub trait CompactionPicker {
    // Required method
    fn pick_compaction(
        &mut self,
        levels: &Levels,
        level_handlers: &[LevelHandler],
        stats: &mut LocalPickerStatistic,
    ) -> Option<CompactionInput>;
}

Required Methods§

source

fn pick_compaction( &mut self, levels: &Levels, level_handlers: &[LevelHandler], stats: &mut LocalPickerStatistic, ) -> Option<CompactionInput>

Implementors§