datafold/datafold_node/
mod.rs

1//! A DataFold node is a self-contained instance that can store data, process
2//! queries and mutations, and communicate with other nodes. Each node has:
3//!
4//! 1. A local database for storing data
5//! 2. A schema system for defining data structure
6//! 3. A network layer for communicating with other nodes
7//! 4. A TCP server for external client connections
8//!
9//! Nodes can operate independently or as part of a network, with trust
10//! relationships defining how they share and access data.
11
12pub mod config;
13pub mod error;
14pub mod llm_query;
15pub mod node;
16mod operation_processor;
17pub mod response_types;
18pub mod schema_client;
19mod transform_queue;
20
21// Re-export the DataFoldNode struct for easier imports
22pub use crate::server::{start_embedded_server, EmbeddedServerHandle};
23pub use config::load_node_config;
24pub use config::NodeConfig;
25pub use node::DataFoldNode;
26pub use operation_processor::OperationProcessor;
27pub use schema_client::SchemaServiceClient;