Skip to main content

xore_process/
lib.rs

1//! XORE Data Processor - 数据处理引擎
2//!
3//! 这个crate提供基于Polars的高性能数据处理和SQL查询功能。
4
5pub mod export;
6pub mod parser;
7pub mod profiler;
8pub mod simd;
9pub mod sql;
10
11// 导出主要类型
12pub use export::{CompressionType, DataExporter, ExportConfig, ExportFormat};
13pub use parser::{DataParser, ParserConfig};
14pub use profiler::{
15    ColumnStats, DataProfiler, MissingStats, OutlierInfo, QualityReport, Severity, Suggestion,
16    SuggestionType,
17};
18pub use simd::{
19    max_f64_simd, mean_f64_simd, min_f64_simd, std_dev_f64_simd, sum_f64_simd, variance_f64_simd,
20};
21pub use sql::SqlEngine;
22
23// 重新导出 Polars 类型,方便使用
24pub use polars::prelude::{AnyValue, DataFrame, LazyFrame};
25
26#[cfg(test)]
27mod tests {
28    #[test]
29    fn test_placeholder() {
30        assert_eq!(2 + 2, 4);
31    }
32}