Module lsm_tree

Source

Re-exports§

pub use merge::Query;
pub use persistent_layer::LayerHeader as PersistentLayerHeader;
pub use persistent_layer::LayerHeaderV39 as PersistentLayerHeaderV39;
pub use persistent_layer::LayerInfo as PersistentLayerInfo;
pub use persistent_layer::LayerInfoV39 as PersistentLayerInfoV39;
pub use persistent_layer::OldLayerInfo as OldPersistentLayerInfo;
pub use persistent_layer::OldLayerInfoV32 as OldPersistentLayerInfoV32;

Modules§

cache
merge
persistent_layer
skip_list_layer
types

Structs§

LSMTree
LSMTree manages a tree of layers to provide a key/value store. Each layer contains deltas on the preceding layer. The top layer is an in-memory mutable layer. Layers can be compacted to form a new combined layer.
LayerSet
A LayerSet provides a snapshot of the layers at a particular point in time, and allows you to get an iterator. Iterators borrow the layers so something needs to hold reference count.
LockedLayer
This is an RAII wrapper for a layer which holds a lock on the layer (via the Layer::lock method).

Enums§

Operation

Functions§

layers_from_handles

Type Aliases§

MutationCallback