Expand description
RocksMap - A high-level typed abstraction over RocksDB in Rust
rocksmap provides a type-safe, ergonomic interface to RocksDB with
map-like API and serialization/deserialization support.
Modules§
- rocks
- Re-export important RocksDB types and options for configuration
- ttl_
utils - Utility functions for TTL management
Structs§
- Bincode
Codec - Default implementation using bincode for serialization
- Rocks
Map - The main key-value store abstraction over RocksDB
- Rocks
MapBatch - A batch of write operations that can be committed atomically
- Rocks
MapIterator - Iterator over RocksMap key-value pairs
- Secondary
Index - A secondary index that maps from a secondary key type to the primary key type
Enums§
- Error
- Errors that can occur in RocksMap operations
Traits§
- Index
Extractor - A trait that allows extraction of secondary keys from a value
- KeyCodec
- Trait defining how to encode a key for storage
- Options
Ext - Note: TTL filter implementation simplified for now In this version we focus on providing placeholder API that will compile Full TTL implementation requires more complex setup with RocksDB Extension trait for RocksDB Options to add TTL support
- Value
Codec - Trait defining how to encode a value for storage
Type Aliases§
- Result
- Shorthand for Result with our error type