Expand description
The simple local key-value store.
§Features
- key-value store.
- hash buckets algorithm.
- minimum support rustc 1.58.1 (db9d1b20b 2022-01-20)
§Compatibility
- Nothing?
§Todo
- more performance
- DB lock as support for multi-process-safe
§Low priority todo
- transaction support that handles multiple key-space at a time.
- thread-safe support
- non db lock multi-process-safe support
§Examples
Re-exports§
pub use filedb::DbBytes;pub use filedb::DbI64;pub use filedb::DbString;pub use filedb::DbU64;pub use filedb::DbVu64;pub use filedb::DbXxxIter;pub use filedb::DbXxxIterMut;pub use filedb::DbXxxKeys;pub use filedb::DbXxxValues;
Modules§
Traits§
- DbMap
- key-value db map store interface.
- DbMap
DbBytes - key-value map store interface. the key type is
Vec<u8>. - DbMap
DbI64 - key-value map store interface. the key type is
i64. - DbMap
DbString - key-value map store interface. the key type is
String. - DbMap
DbU64 - key-value map store interface. the key type is
u64. - DbMap
DbVu64 - key-value map store interface. the key type is
vu64. - DbMap
KeyType - key type
- DbXxx
- generic key-value map store interface. the key type is
KT. - DbXxx
Base - base interface for generic key-value map store interface. this is not include
KT - DbXxx
Object Safe - generic key-value map store interface. the key type is
KT. this is only object safe. - Hash
Value - hash value for htx
Functions§
- open_
file - Open the file db. This data is stored in file.