[−][src]Struct rocks::table_properties::UserCollectedProperties
Other than basic table properties, each table may also have the user collected properties.
The value of the user-collected properties are encoded as raw bytes -- users have to interprete these values by themselves.
Rust: wraps raw c pointer, and exposes as a {String => Vec<u8>}
map
Common properties:
rocksdb.block.based.table.index.type
rocksdb.block.based.table.prefix.filtering
rocksdb.block.based.table.whole.key.filtering
rocksdb.deleted.keys
rocksdb.merge.operands
Implementations
impl UserCollectedProperties
[src]
pub fn insert(&mut self, key: &str, value: &[u8])
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn iter(&self) -> UserCollectedPropertiesIter<'_>ⓘNotable traits for UserCollectedPropertiesIter<'a>
impl<'a> Iterator for UserCollectedPropertiesIter<'a> type Item = (&'a str, &'a [u8]);
[src]
Notable traits for UserCollectedPropertiesIter<'a>
impl<'a> Iterator for UserCollectedPropertiesIter<'a> type Item = (&'a str, &'a [u8]);
Trait Implementations
impl Debug for UserCollectedProperties
[src]
impl<'a> Index<&'a str> for UserCollectedProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserCollectedProperties
[src]
impl !Send for UserCollectedProperties
[src]
impl !Sync for UserCollectedProperties
[src]
impl Unpin for UserCollectedProperties
[src]
impl UnwindSafe for UserCollectedProperties
[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, 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>,