Struct rocksdb::rocksdb::SstFileReader [−][src]
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]
Notable traits for &'b mut DBIterator<D>
impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;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]
Notable traits for &'b mut DBIterator<D>
impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;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]
Notable traits for &'b mut DBIterator<D>
impl<'b, D> Iterator for &'b mut DBIterator<D> type Item = Kv;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]
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;pub fn read_table_properties<F: FnOnce(&TableProperties)>(&self, action: F)[src]
pub fn verify_checksum(&self) -> Result<(), String>[src]
Trait Implementations
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,