risingwave_meta::hummock::compaction::picker::compaction_task_validator

Trait CompactionTaskValidationRule

source
pub trait CompactionTaskValidationRule {
    // Required method
    fn validate(
        &self,
        input: &CompactionInput,
        stats: &mut LocalPickerStatistic,
    ) -> bool;
}

Required Methods§

source

fn validate( &self, input: &CompactionInput, stats: &mut LocalPickerStatistic, ) -> bool

Implementors§