Trait engine_traits::SstWriterBuilder [−][src]
A builder builds a SstWriter.
Required methods
fn new() -> Self
[src]
Create a new SstWriterBuilder.
fn set_db(self, db: &E) -> Self
[src]
Set DB for the builder. The builder may need some config from the DB.
fn set_cf(self, cf: &str) -> Self
[src]
Set CF for the builder. The builder may need some config from the CF.
fn set_in_memory(self, in_memory: bool) -> Self
[src]
Set it to true, the builder builds a in-memory SST builder.
fn set_compression_type(self, compression: Option<SstCompressionType>) -> Self
[src]
set other config specified by writer
fn set_compression_level(self, level: i32) -> Self
[src]
fn build(self, path: &str) -> Result<E::SstWriter>
[src]
Builder a SstWriter.