Struct rocksdb::rocksdb::WriteBatch [] [src]

pub struct WriteBatch {
    // some fields omitted
}

Methods

impl WriteBatch
[src]

fn new() -> WriteBatch

Trait Implementations

impl Drop for WriteBatch
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl Writable for WriteBatch
[src]

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

fn put_cf(&self, cf: DBCFHandle, key: &[u8], value: &[u8]) -> Result<()String>

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

fn merge_cf(&self, cf: DBCFHandle, key: &[u8], value: &[u8]) -> Result<()String>

fn delete(&self, key: &[u8]) -> Result<()String>

fn delete_cf(&self, cf: DBCFHandle, key: &[u8]) -> Result<()String>