Crate abyssiniandb

Crate abyssiniandb 

Source
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§

filedb

Traits§

DbMap
key-value db map store interface.
DbMapDbBytes
key-value map store interface. the key type is Vec<u8>.
DbMapDbI64
key-value map store interface. the key type is i64.
DbMapDbString
key-value map store interface. the key type is String.
DbMapDbU64
key-value map store interface. the key type is u64.
DbMapDbVu64
key-value map store interface. the key type is vu64.
DbMapKeyType
key type
DbXxx
generic key-value map store interface. the key type is KT.
DbXxxBase
base interface for generic key-value map store interface. this is not include KT
DbXxxObjectSafe
generic key-value map store interface. the key type is KT. this is only object safe.
HashValue
hash value for htx

Functions§

open_file
Open the file db. This data is stored in file.