pub trait CompactionStrategy {
// Required methods
fn get_name(&self) -> &'static str;
fn choose(&self, _: &LevelManifest, config: &Config) -> Choice;
}
Expand description
Trait for a compaction strategy
The strategy receives the levels of the LSM-tree as argument and emits a choice on what to do.