Re-exports§
pub use meta_file::MetaEntryFlags;pub use static_sorted_file::BlockCache;pub use static_sorted_file::BlockWeighter;pub use static_sorted_file::SstLookupResult;pub use static_sorted_file::StaticSortedFile;pub use static_sorted_file::StaticSortedFileMetaData;
Modules§
Structs§
- ArcBytes
- An owned byte slice backed by either an
Arc<[u8]>or a memory-mapped file. - Compact
Config - Configuration for the compaction algorithm.
- DbConfig
- Database-wide configuration with per-family settings.
- Family
Config - Configuration for a single family to describe how the data is stored.
- Meta
File Entry Info - Meta
File Info - Serial
Scheduler - Streaming
SstWriter - A streaming SST file writer that writes blocks to disk incrementally.
- Turbo
Persistence - TurboPersistence is a persistent key-value store. It is limited to a single writer at a time using a single write batch. It allows for concurrent reads.
- Write
Batch - A write batch.
Enums§
- Entry
Value - Reference to a value
- Family
Kind - Value
Buffer
Constants§
- BLOCK_
HEADER_ SIZE - Size of the per-block header on disk: 4 bytes uncompressed_size + 4 bytes CRC32 checksum.
Traits§
- Entry
- Trait for entries from that SST files can be created
- KeyBase
- A trait for keys that can be used for hashing.
- Parallel
Scheduler - Query
Key - A trait for keys that can be used to query the database. They need to allow hashing and comparison with a byte slice (total order).
- Store
Key - A trait for keys that can be stored in the database. They need to allow hashing and comparison.
Functions§
- checksum_
block - Computes a CRC32 checksum of a byte slice.
- hash_
key - Hashes a key with a fast, deterministic hash function.
- write_
static_ stored_ file - Writes an SST file from a pre-sorted slice of entries.