Expand description
Storage backends for SQL database operations.
This module provides multiple storage backend implementations:
duckdb: High-performance embedded SQL databaseadbc: Arrow Database Connectivity for external database integration (optional)cached: Two-tier storage with configurable caching layerdatafusion_provider: DataFusion TableProvider bridge for DuckDBcontext: Embedding storage for RAG/CAG functionality
The StorageBackend trait itself, the view types, and the SQL string
utilities live in the Apache-2.0 hyprstream-metrics-api crate and are
re-exported here; each backend here implements that trait.
Re-exports§
pub use datafusion_provider::DuckDBExec;pub use datafusion_provider::DuckDBTableProvider;
Modules§
- cache
- cached
- Two-tier cached storage backend implementation.
- context
- Context storage for RAG/CAG functionality.
- datafusion_
provider - DataFusion TableProvider implementation for DuckDB storage.
- duckdb
- table_
manager - view
Structs§
- Credentials
- Credentials for database authentication
- Storage
Utils - Utility functions for SQL operations
Enums§
Traits§
- Storage
Backend - Storage backend trait for SQL database operations.