[][src]Trait sstb::sstable::writer::RawSSTableWriter

pub trait RawSSTableWriter {
    fn set(&mut self, key: &[u8], value: &[u8]) -> Result<()>;
fn close(self) -> Result<()>; }

Represents an SSTable writer.

Required methods

fn set(&mut self, key: &[u8], value: &[u8]) -> Result<()>

Set the key to the value. This method MUST be called in the sorted order. The keys MUST be unique. Set of empty value is equal to a delete, and is recorded too.

fn close(self) -> Result<()>

Close the writer and flush everything to the underlying storage.

Loading content...

Implementors

impl RawSSTableWriter for SSTableWriterV2[src]

Loading content...