Struct rocksdb::rocksdb::SstFileReader[][src]

pub struct SstFileReader { /* fields omitted */ }

Implementations

impl SstFileReader[src]

pub fn new(opt: ColumnFamilyOptions) -> Self[src]

Creates a new SstFileReader.

pub fn open(&mut self, name: &str) -> Result<(), String>[src]

Opens a local SST file for reading.

pub fn iter(&self) -> DBIterator<&Self>

Notable traits for &'b mut DBIterator<D>

impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;
[src]

pub fn iter_opt(&self, readopts: ReadOptions) -> DBIterator<&Self>

Notable traits for &'b mut DBIterator<D>

impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;
[src]

pub fn iter_rc(this: Rc<Self>) -> DBIterator<Rc<Self>>

Notable traits for &'b mut DBIterator<D>

impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;
[src]

Create an iterator out of a reference-counted SstFileReader.

This exists due to restrictions on lifetimes in associated types. See RocksSstIterator in TiKV’s engine_rocks.

pub fn iter_opt_rc(
    this: Rc<Self>,
    readopts: ReadOptions
) -> DBIterator<Rc<Self>>

Notable traits for &'b mut DBIterator<D>

impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;
[src]

pub fn read_table_properties<F: FnOnce(&TableProperties)>(&self, action: F)[src]

pub fn verify_checksum(&self) -> Result<(), String>[src]

Trait Implementations

impl Drop for SstFileReader[src]

impl Send for SstFileReader[src]

Auto Trait Implementations

impl RefUnwindSafe for SstFileReader

impl !Sync for SstFileReader

impl Unpin for SstFileReader

impl UnwindSafe for SstFileReader

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.