Struct rocksdb::rocksdb::DB
[−]
[src]
pub struct DB { // some fields omitted }
pub struct DB { // some fields omitted }
impl DB
[src]fn open_default(path: &str) -> Result<DB, String>
fn open(opts: &Options, path: &str) -> Result<DB, String>
fn open_cf(opts: &Options, path: &str, cfs: &[&str]) -> Result<DB, String>
fn destroy(opts: &Options, path: &str) -> Result<(), String>
fn repair(opts: Options, path: &str) -> Result<(), String>
fn write_opt(&self, batch: WriteBatch, writeopts: &WriteOptions) -> Result<(), String>
fn write(&self, batch: WriteBatch) -> Result<(), String>
fn get_opt(&self, key: &[u8], readopts: &ReadOptions) -> Result<Option<DBVector>, String>
fn get(&self, key: &[u8]) -> Result<Option<DBVector>, String>
fn get_cf_opt(&self, cf: DBCFHandle, key: &[u8], readopts: &ReadOptions) -> Result<Option<DBVector>, String>
fn get_cf(&self, cf: DBCFHandle, key: &[u8]) -> Result<Option<DBVector>, String>
fn create_cf(&mut self, name: &str, opts: &Options) -> Result<DBCFHandle, String>
fn drop_cf(&mut self, name: &str) -> Result<(), String>
fn cf_handle(&self, name: &str) -> Option<&DBCFHandle>
fn iterator(&self, mode: IteratorMode) -> DBIterator
fn iterator_cf(&self, cf_handle: DBCFHandle, mode: IteratorMode) -> Result<DBIterator, String>
fn snapshot(&self) -> Snapshot
fn put_opt(&self, key: &[u8], value: &[u8], writeopts: &WriteOptions) -> Result<(), String>
fn put_cf_opt(&self, cf: DBCFHandle, key: &[u8], value: &[u8], writeopts: &WriteOptions) -> Result<(), String>
fn merge_opt(&self, key: &[u8], value: &[u8], writeopts: &WriteOptions) -> Result<(), String>
impl Send for DB
[src]impl Sync for DB
[src]impl Writable for DB
[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>
impl Drop for DB
[src]