Expand description
A doublets graph database library for working with associative link structures.
Doublets stores data as a graph of typed links, each represented as a triple
(index, source, target). Two store implementations are provided:
unit::Store— a single-memory store for smaller graphs.split::Store— a two-memory (data + index) store that separates link data from tree-index metadata for larger graphs.
§Quick start
ⓘ
use doublets::{unit, Doublets, DoubletsExt};
use mem::FileMapped;
let store = unit::Store::<u64, _>::new(FileMapped::from_path("db.links")?)?;Re-exports§
pub use self::mem::parts;pub use self::mem::split;pub use self::mem::unit;pub use self::data::Doublet;pub use self::data::Doublets;pub use self::data::DoubletsExt;pub use self::data::Error;pub use self::data::Fuse;pub use self::data::Link;pub use self::data::Links;