Trait ckb_rocksdb::ops::GetColumnFamilys
source · pub trait GetColumnFamilys {
// Required methods
fn get_cfs(&self) -> &BTreeMap<String, ColumnFamily>;
fn get_mut_cfs(&mut self) -> &mut BTreeMap<String, ColumnFamily>;
// Provided method
fn cf_handle(&self, name: &str) -> Option<&ColumnFamily> { ... }
}
Required Methods§
fn get_cfs(&self) -> &BTreeMap<String, ColumnFamily>
fn get_mut_cfs(&mut self) -> &mut BTreeMap<String, ColumnFamily>
Provided Methods§
sourcefn cf_handle(&self, name: &str) -> Option<&ColumnFamily>
fn cf_handle(&self, name: &str) -> Option<&ColumnFamily>
Return the underlying column family handle.