mirror of
https://github.com/ruvnet/RuView
synced 2026-08-10 20:31:42 +00:00
Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
//! # 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.
|
||||
|
||||
pub mod cypher;
|
||||
pub mod edge;
|
||||
pub mod error;
|
||||
pub mod executor;
|
||||
pub mod graph;
|
||||
pub mod hyperedge;
|
||||
pub mod index;
|
||||
pub mod node;
|
||||
pub mod property;
|
||||
pub mod storage;
|
||||
pub mod transaction;
|
||||
pub mod types;
|
||||
|
||||
// Performance optimization modules
|
||||
pub mod optimization;
|
||||
|
||||
// Vector-graph hybrid query capabilities
|
||||
pub mod hybrid;
|
||||
|
||||
// Distributed graph capabilities
|
||||
#[cfg(feature = "distributed")]
|
||||
pub mod distributed;
|
||||
|
||||
// Core type re-exports
|
||||
pub use edge::{Edge, EdgeBuilder};
|
||||
pub use error::{GraphError, Result};
|
||||
pub use graph::GraphDB;
|
||||
pub use hyperedge::{Hyperedge, HyperedgeBuilder, HyperedgeId};
|
||||
pub use node::{Node, NodeBuilder};
|
||||
#[cfg(feature = "storage")]
|
||||
pub use storage::GraphStorage;
|
||||
pub use transaction::{IsolationLevel, Transaction, TransactionManager};
|
||||
pub use types::{EdgeId, Label, NodeId, Properties, PropertyValue, RelationType};
|
||||
|
||||
// Re-export hybrid query types when available
|
||||
#[cfg(not(feature = "minimal"))]
|
||||
pub use hybrid::{
|
||||
EmbeddingConfig, GnnConfig, GraphNeuralEngine, HybridIndex, RagConfig, RagEngine,
|
||||
SemanticSearch, VectorCypherParser,
|
||||
};
|
||||
|
||||
// Re-export distributed types when feature is enabled
|
||||
#[cfg(feature = "distributed")]
|
||||
pub use distributed::{
|
||||
Coordinator, Federation, GossipMembership, GraphReplication, GraphShard, RpcClient, RpcServer,
|
||||
ShardCoordinator, ShardStrategy,
|
||||
};
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn test_placeholder() {
|
||||
// Placeholder test to allow compilation
|
||||
assert!(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user