Expand description
SQLite-backed graph database for embedded use.
Provides a lightweight, deterministic graph database with:
- Entity and edge storage with metadata
- Pattern matching with cache-enabled fast-path
- MVCC-lite snapshots for read isolation
- Deterministic indexing and querying
Re-exports§
pub use backend::SqliteGraphBackend;pub use backend_client::BackendClient;pub use cache::CacheStats;pub use dsl::DslResult;pub use dsl::parse_dsl;pub use errors::SqliteGraphError;pub use graph::GraphEdge;pub use graph::GraphEntity;pub use graph::SqliteGraph;pub use graph_opt::GraphEdgeCreate;pub use graph_opt::GraphEntityCreate;pub use graph_opt::bulk_insert_edges;pub use graph_opt::bulk_insert_entities;pub use graph_opt::cache_stats;pub use index::add_label;pub use index::add_property;pub use mvcc::GraphSnapshot;pub use mvcc::SnapshotState;pub use pattern_engine::PatternTriple;pub use pattern_engine::TripleMatch;pub use pattern_engine::match_triples;pub use pattern_engine_cache::match_triples_fast;pub use query::GraphQuery;pub use reasoning::ReasoningConfig;pub use recovery::dump_graph_to_path;pub use recovery::load_graph_from_path;pub use recovery::load_graph_from_reader;pub use reindex::ReindexConfig;pub use reindex::ReindexProgress;pub use reindex::ReindexResult;pub use reindex::ReindexStage;pub use safety::run_deep_safety_checks;pub use safety::run_safety_checks;
Modules§
- algo
- backend
- Backend trait bridging sqlitegraph with higher-level graph consumers. Each trait
method delegates to the existing sqlitegraph primitives (e.g.,
SqliteGraph::insert_entity,crate::bfs::bfs_neighbors), ensuring deterministic behavior while providing a single integration surface. Thesqlite-backendCargo feature (enabled by default) keeps this adapter compiled in, simplifying future backend selection. - backend_
client - backend_
selector - bench_
gates - bench_
meta - bench_
regression - bench_
utils - bfs
- cache
- client
- dsl
- dual_
orchestrator - dual_
read - dual_
runner - dual_
runtime - dual_
write - errors
- fault_
injection - graph
- graph_
opt - index
- migration
- multi_
hop - mvcc
- MVCC-lite snapshot system for SQLiteGraph
- pattern
- pattern_
engine - Lightweight triple pattern matcher for SQLiteGraph.
- pattern_
engine_ cache - Cache-enabled fast-path for pattern matching.
- pipeline
- query
- reasoning
- recovery
- reindex
- Graph reindexing functionality for syncore and sync graph operations.
- safety
- schema
- subgraph