grafeo_core/lib.rs
1//! # grafeo-core
2//!
3//! The core data structures behind Grafeo. You'll find graph storage, indexes,
4//! and the execution engine here.
5//!
6//! Most users don't need this crate directly - use `grafeo` or `grafeo-engine`
7//! instead. But if you're building algorithms or need low-level access, this
8//! is where the action is.
9//!
10//! ## Modules
11//!
12//! - [`graph`] - Graph storage: LPG (labeled property graph) and RDF triple stores
13//! - [`index`] - Fast lookups: hash, B-tree, adjacency lists, tries
14//! - [`execution`] - Query execution: data chunks, vectors, operators
15//! - [`statistics`] - Cardinality estimates for the query optimizer
16//! - [`storage`] - Compression: dictionary encoding, bit-packing, delta encoding
17
18pub mod execution;
19pub mod graph;
20pub mod index;
21pub mod statistics;
22pub mod storage;
23
24// Re-export the types you'll use most often
25pub use graph::lpg::{Edge, LpgStore, Node};
26pub use index::adjacency::ChunkedAdjacency;
27pub use statistics::{ColumnStatistics, Histogram, LabelStatistics, Statistics};
28pub use storage::{DictionaryBuilder, DictionaryEncoding};