Trait ckb_rocksdb::ops::IterateCF
source · pub trait IterateCF: Iterate {
// Required method
fn get_raw_iter_cf<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
readopts: &ReadOptions
) -> Result<DBRawIterator<'b>, Error>;
// Provided methods
fn get_iter_cf<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
readopts: &ReadOptions,
mode: IteratorMode<'_>
) -> Result<DBIterator<'b>, Error> { ... }
fn iterator_cf_opt<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
mode: IteratorMode<'_>,
readopts: &ReadOptions
) -> Result<DBIterator<'b>, Error> { ... }
fn iterator_cf<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
mode: IteratorMode<'_>
) -> Result<DBIterator<'b>, Error> { ... }
fn full_iterator_cf<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
mode: IteratorMode<'_>
) -> Result<DBIterator<'b>, Error> { ... }
fn prefix_iterator_cf<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
prefix: &[u8]
) -> Result<DBIterator<'b>, Error> { ... }
fn raw_iterator_cf<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily
) -> Result<DBRawIterator<'b>, Error> { ... }
}
Required Methods§
fn get_raw_iter_cf<'a: 'b, 'b>( &'a self, cf_handle: &ColumnFamily, readopts: &ReadOptions ) -> Result<DBRawIterator<'b>, Error>
Provided Methods§
fn get_iter_cf<'a: 'b, 'b>( &'a self, cf_handle: &ColumnFamily, readopts: &ReadOptions, mode: IteratorMode<'_> ) -> Result<DBIterator<'b>, Error>
sourcefn iterator_cf_opt<'a: 'b, 'b>(
&'a self,
cf_handle: &ColumnFamily,
mode: IteratorMode<'_>,
readopts: &ReadOptions
) -> Result<DBIterator<'b>, Error>
fn iterator_cf_opt<'a: 'b, 'b>( &'a self, cf_handle: &ColumnFamily, mode: IteratorMode<'_>, readopts: &ReadOptions ) -> Result<DBIterator<'b>, Error>
Opens an interator using the provided ReadOptions. This is used when you want to iterate over a specific ColumnFamily with a modified ReadOptions