[−][src]Struct rocks::table_properties::TableProperties
TableProperties
contains a bunch of read-only properties of its associated
table.
Implementations
impl<'a> TableProperties<'a>
[src]
pub fn data_size(&self) -> u64
[src]
the total size of all data blocks.
pub fn index_size(&self) -> u64
[src]
the size of index block.
pub fn filter_size(&self) -> u64
[src]
the size of filter block.
pub fn raw_key_size(&self) -> u64
[src]
total raw key size
pub fn raw_value_size(&self) -> u64
[src]
total raw value size
pub fn num_data_blocks(&self) -> u64
[src]
the number of blocks in this table
pub fn num_entries(&self) -> u64
[src]
the number of entries in this table
pub fn format_version(&self) -> u64
[src]
format version, reserved for backward compatibility
pub fn fixed_key_len(&self) -> u64
[src]
If 0, key is variable length. Otherwise number of bytes for each key.
pub fn column_family_id(&self) -> u32
[src]
ID of column family for this SST file, corresponding to the CF identified by column_family_name.
pub fn column_family_name(&self) -> Option<&str>
[src]
Name of the column family with which this SST file is associated.
If column family is unknown, column_family_name
will be an empty string.
pub fn filter_policy_name(&self) -> Option<&str>
[src]
The name of the filter policy used in this table.
If no filter policy is used, filter_policy_name
will be an empty string.
pub fn comparator_name(&self) -> &str
[src]
The name of the comparator used in this table.
pub fn merge_operator_name(&self) -> Option<&str>
[src]
The name of the merge operator used in this table.
If no merge operator is used, merge_operator_name
will be "nullptr".
pub fn prefix_extractor_name(&self) -> Option<&str>
[src]
The name of the prefix extractor used in this table
If no prefix extractor is used, prefix_extractor_name
will be "nullptr".
pub fn property_collectors_names(&self) -> &str
[src]
The names of the property collectors factories used in this table separated by commas {collector_name[1]},{collector_name[2]},{collector_name[3]} .. or []
pub fn compression_name(&self) -> &str
[src]
The compression algo used to compress the SST files.
pub fn user_collected_properties(&self) -> &UserCollectedProperties
[src]
user collected properties
pub fn readable_properties(&self) -> &UserCollectedProperties
[src]
Trait Implementations
impl<'a> Debug for TableProperties<'a>
[src]
impl<'a> Display for TableProperties<'a>
[src]
impl<'a> Drop for TableProperties<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TableProperties<'a>
[src]
impl<'a> !Send for TableProperties<'a>
[src]
impl<'a> !Sync for TableProperties<'a>
[src]
impl<'a> Unpin for TableProperties<'a>
[src]
impl<'a> UnwindSafe for TableProperties<'a>
[src]
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,