pub struct SstFileMetaData { /* private fields */ }Expand description
The metadata that describes a single SST file within a level.
Implementations§
Source§impl SstFileMetaData
impl SstFileMetaData
Sourcepub fn relative_filename(&self) -> String
pub fn relative_filename(&self) -> String
The file name within its directory, for example 123456.sst.
Sourcepub fn directory(&self) -> String
pub fn directory(&self) -> String
The directory holding the file, without a trailing /. This is a DB path
or column family path, not necessarily the main DB directory.
Sourcepub fn smallest_key(&self) -> Vec<u8> ⓘ
pub fn smallest_key(&self) -> Vec<u8> ⓘ
Smallest user key in the file. Empty if the file’s smallest key is empty.
Sourcepub fn largest_key(&self) -> Vec<u8> ⓘ
pub fn largest_key(&self) -> Vec<u8> ⓘ
Largest user key in the file. Empty if the file’s largest key is empty.
Trait Implementations§
Source§impl Debug for SstFileMetaData
impl Debug for SstFileMetaData
Source§impl Drop for SstFileMetaData
impl Drop for SstFileMetaData
impl Send for SstFileMetaData
Auto Trait Implementations§
impl !Sync for SstFileMetaData
impl Freeze for SstFileMetaData
impl RefUnwindSafe for SstFileMetaData
impl Unpin for SstFileMetaData
impl UnsafeUnpin for SstFileMetaData
impl UnwindSafe for SstFileMetaData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more