ruvector_graph - Rust
Skip to main content

Crate ruvector_graph

Crate ruvector_graph 

Source
Expand description

§RuVector Graph Database

A high-performance graph database layer built on RuVector with Neo4j compatibility. Supports property graphs, hypergraphs, Cypher queries, ACID transactions, and distributed queries.

Re-exports§

pub use bm25::Bm25Index;
pub use bm25::Bm25Params;
pub use edge::Edge;
pub use edge::EdgeBuilder;
pub use embed::Embedder;
pub use embed::HashEmbedder;
pub use error::GraphError;
pub use error::Result;
pub use graph::GraphDB;
pub use hyperedge::Hyperedge;
pub use hyperedge::HyperedgeBuilder;
pub use hyperedge::HyperedgeId;
pub use node::Node;
pub use node::NodeBuilder;
pub use schema::reciprocal_rank_fusion;
pub use schema::DistanceMetric;
pub use schema::EdgeSchema;
pub use schema::GraphSchema;
pub use schema::NodeSchema;
pub use schema::PropertySchema;
pub use schema::PropertyType;
pub use schema::VectorSchema;
pub use storage::GraphStorage;
pub use transaction::IsolationLevel;
pub use transaction::Transaction;
pub use transaction::TransactionManager;
pub use typed_graph::Direction;
pub use typed_graph::TraversalResult;
pub use typed_graph::TraverseSpec;
pub use typed_graph::TypedGraph;
pub use types::EdgeId;
pub use types::Label;
pub use types::NodeId;
pub use types::Properties;
pub use types::PropertyValue;
pub use types::RelationType;
pub use hybrid::EmbeddingConfig;
pub use hybrid::GnnConfig;
pub use hybrid::GraphNeuralEngine;
pub use hybrid::HybridIndex;
pub use hybrid::RagConfig;
pub use hybrid::RagEngine;
pub use hybrid::SemanticSearch;
pub use hybrid::VectorCypherParser;
pub use distributed::Coordinator;
pub use distributed::Federation;
pub use distributed::GossipMembership;
pub use distributed::GraphReplication;
pub use distributed::GraphShard;
pub use distributed::RpcClient;
pub use distributed::RpcServer;
pub use distributed::ShardCoordinator;
pub use distributed::ShardStrategy;

Modules§

bm25
Compact BM25 keyword index over a node text property (ADR-252 P4).
codegen
Schema-driven typed client codegen (HelixDB-inspired, ADR-252 P6).
cypher
Cypher query language parser and execution engine
distributed
Distributed graph query capabilities
edge
Edge (relationship) implementation
embed
Pluggable text embedding for inline embed()-at-insert/at-query (HelixDB-inspired, ADR-252 P3).
error
Error types for graph database operations
executor
High-performance query execution engine for RuVector graph database
graph
Graph database implementation with concurrent access and indexing
hybrid
Vector-Graph Hybrid Query System
hyperedge
N-ary relationship support (hyperedges)
index
Index structures for fast node and edge lookups
node
Node implementation
optimization
Performance optimization modules for orders of magnitude speedup
schema
Optional, schema-first type layer for the graph (HelixDB-inspired, ADR-252 P1/P2).
storage
Persistent storage layer with redb and memory-mapped vectors
transaction
Transaction support for ACID guarantees with MVCC
typed_graph
Schema-validated graph wrapper with a fused vector-search-then-traverse operator (HelixDB-inspired, ADR-252 P2).
types
Core types for graph database
","&mut Vec":"

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A>
where\n A: Allocator,
","Drain<'_, K, V, A>":"

Notable traits for Drain<'a, K, V, A>

impl<'a, K, V, A> Iterator for Drain<'a, K, V, A>
where\n A: Allocator,
type Item = (K, V);
","Drain<'_>":"

Notable traits for Drain<'_>

impl Iterator for Drain<'_>
type Item = char;
","ExtractIf<'_, K, V, F, A>":"

Notable traits for ExtractIf<'_, K, V, F, A>

impl<K, V, F, A> Iterator for ExtractIf<'_, K, V, F, A>
where\n A: Allocator,\n F: FnMut(&K, &mut V) -> bool,
type Item = (K, V);
","IntoChars":"

Notable traits for IntoChars

type Item = char;
","IntoIter":"

Notable traits for IntoIter<K, V, A>

impl<K, V, A> Iterator for IntoIter<K, V, A>
where\n A: Allocator,
type Item = (K, V);
","IntoIter":"

Notable traits for IntoIter<T>

impl<T> Iterator for IntoIter<T>
type Item = T;
","IntoKeys":"

Notable traits for IntoKeys<K, V, A>

impl<K, V, A> Iterator for IntoKeys<K, V, A>
where\n A: Allocator,
type Item = K;
","IntoValues":"

Notable traits for IntoValues<K, V, A>

impl<K, V, A> Iterator for IntoValues<K, V, A>
where\n A: Allocator,
type Item = V;
","Iter<'_, K, V>":"

Notable traits for Iter<'a, K, V>

impl<'a, K, V> Iterator for Iter<'a, K, V>
type Item = (&'a K, &'a V);
","Iter<'_, T>":"

Notable traits for Iter<'a, T>

impl<'a, T> Iterator for Iter<'a, T>
type Item = &'a T;
","IterMut<'_, K, V>":"

Notable traits for IterMut<'a, K, V>

impl<'a, K, V> Iterator for IterMut<'a, K, V>
type Item = (&'a K, &'a mut V);
","IterMut<'_, T>":"

Notable traits for IterMut<'a, T>

impl<'a, T> Iterator for IterMut<'a, T>
type Item = &'a mut T;
","Keys<'_, K, V>":"

Notable traits for Keys<'a, K, V>

impl<'a, K, V> Iterator for Keys<'a, K, V>
type Item = &'a K;
","Values<'_, K, V>":"

Notable traits for Values<'a, K, V>

impl<'a, K, V> Iterator for Values<'a, K, V>
type Item = &'a V;
","ValuesMut<'_, K, V>":"

Notable traits for ValuesMut<'a, K, V>

impl<'a, K, V> Iterator for ValuesMut<'a, K, V>
type Item = &'a mut V;
","Vec":"

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A>
where\n A: Allocator,
"}