pub trait SstMerger:
Send
+ Sync
+ 'static {
// Required method
fn merge_single_output<'life0, 'async_trait>(
&'life0 self,
compaction_region: CompactionRegion,
output: CompactionOutput,
write_opts: WriteOptions,
) -> Pin<Box<dyn Future<Output = Result<Vec<FileMeta>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait for merging a single compaction output into SST files.
This is extracted from DefaultCompactor to allow injecting mock
implementations in tests.