Expand description
Database connectivity module for dataprof.
This crate owns the database profiling surface, including connection handling, secure configuration helpers, sampling, streaming, and the feature-gated sqlx-based connectors.
Re-exports§
pub use connection::*;pub use connectors::*;pub use retry::*;pub use sampling::*;pub use security::*;
Modules§
- connection
- Connection management and utilities for database connectors
- connectors
- Database-specific connectors
- retry
- Connection retry logic with exponential backoff
- sampling
- Database table sampling strategies for large datasets
- security
- Database security utilities for SSL/TLS validation and credential management
- streaming
- Streaming utilities for processing large database result sets
Macros§
- process_
rows_ to_ columns - Macro to process rows into column-oriented HashMap.
- streaming_
profile_ loop - Macro to generate the streaming batch loop for profiling queries.
Structs§
- Database
Config - Database configuration for connection strings and settings
Traits§
- Database
Connector - Trait that all database connectors must implement
Functions§
- analyze_
database - High-level function to analyze a database table or query.
- create_
connector - Factory function to create appropriate database connector