risingwave_meta::hummock::compaction::overlap_strategy

Trait OverlapInfo

source
pub trait OverlapInfo: Debug {
    // Required methods
    fn check_overlap(&self, a: &SstableInfo) -> bool;
    fn check_multiple_overlap(&self, others: &[SstableInfo]) -> Range<usize>;
    fn check_multiple_include(&self, others: &[SstableInfo]) -> Range<usize>;
    fn update(&mut self, table: &SstableInfo);
}

Required Methods§

Implementors§