Crate sstable

Source

Re-exports§

pub use crate::error::Result;
pub use crate::error::Status;
pub use crate::error::StatusCode;

Modules§

error
filter

Structs§

DefaultCmp
Lexical comparator.
Options
Options contains general parameters for reading and writing SSTables. Most of the names are self-explanatory; the defaults are defined in the Default implementation.
Table
Table is used for accessing SSTables.
TableBuilder
A TableBuilder is used to create a table from a set of sorted string pairs and write it to a file or a buffer.
TableIterator
This iterator is a “TwoLevelIterator”; it uses an index block in order to get an offset hint into the data blocks.

Enums§

CompressionType

Traits§

Cmp
Comparator trait, supporting types that can be nested (i.e., add additional functionality on top of an inner comparator)
RandomAccess
SSIterator
An extension of the standard Iterator trait that supporting some additional functionality.

Functions§

current_key_val
current_key_val is a helper allocating two vectors and filling them with the current key/value of the specified iterator.