pub async fn gen_test_sstable<B: AsRef<[u8]> + Clone + Default + Eq>(
opts: SstableBuilderOptions,
object_id: HummockSstableObjectId,
kv_iter: impl Iterator<Item = (FullKey<B>, HummockValue<B>)>,
sstable_store: SstableStoreRef,
) -> TableHolder
Expand description
Generate a test table from the given kv_iter
and put the kv value to sstable_store