Expand description
camel-component-surrealdb — SurrealDB multi-model database component for rust-camel.
Provides document, graph, and vector operations through the surrealdb crate. Integrates with the datasource domain via PoolFactory.
Re-exports§
pub use bundle::SurrealDbBundle;pub use config::SurrealDbEndpointConfig;pub use config::SurrealDbOperation;pub use config::VectorMetric;pub use error::SurrealDbError;pub use pool_factory::redact_db_url;
Modules§
- bundle
- SurrealDbBundle — groups SurrealDB component schemes and shared config.
- config
- Endpoint configuration types and URI parser for the SurrealDB component.
- consumer
- SurrealDbConsumer — LIVE SELECT push-based consumer.
- endpoint
- SurrealDbEndpoint — creates producers, consumers, and polling consumers.
- error
- Error types for the SurrealDB component.
- headers
- Header constant definitions for the SurrealDB component.
- polling
- SurrealDbPollingConsumer — PollingConsumer for pollEnrich and camel_poll support.
- pool_
factory - SurrealDB PoolFactory — creates Surreal
clients and registers with the datasource catalog. - producer
- SurrealDbProducer — Service
implementation handling 8 producer operations. - query
- Identifier validation and SurrealQL query builders for operations that have no SDK fluent equivalent.
- vector
- Vector helpers for extracting
Vec<f32>from SurrealDB JSON values.
Structs§
- Surreal
DbComponent - SurrealDB component — factory for
surrealdb:endpoints.