1#![allow(unexpected_cfgs)]
8#![allow(unsafe_code)]
9#![deny(clippy::undocumented_unsafe_blocks)]
10
11#[cfg(feature = "mimalloc")]
12#[global_allocator]
13static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
14
15#[cfg(feature = "alloc-stats")]
16pub mod alloc_stats;
17pub mod arrow_export;
18pub mod auto;
19#[cfg(feature = "bench")]
20pub mod bench;
21pub mod block_masks;
22pub mod bounded;
23pub mod budget;
24pub mod columnar;
25pub mod consumer;
26pub mod decoder;
27#[cfg(feature = "streaming-parser")]
28pub mod diagnostics;
29pub mod dict;
30pub mod engine;
31pub mod error;
32pub mod input;
33pub mod merge;
34pub mod observer;
35pub mod parallel;
36pub mod parallel_stream;
37pub mod pipeline;
38pub mod plan;
39pub mod profiling;
40pub mod scan;
41pub mod schema;
42pub mod spill;
43pub mod streaming;
44#[cfg(feature = "streaming-parser")]
45pub mod streaming_parser;
46pub mod value;
47
48pub use arrow_export::apply_compare_filter;
49pub use auto::{resolve_engine, AutoConfig, EngineMode};
50pub use bounded::{MemoryBudget, MAX_SPLIT_CHUNKS};
51pub use budget::{BudgetLedger, BudgetPartition, StreamStats};
52pub use consumer::{BatchConsumer, CollectingConsumer, DiscardingConsumer};
53pub use decoder::{
54 find_next_record_boundary, is_continued_newline, split_points_to_ranges, ColumnarSink,
55 RecordBoundary, RecordParser, Splitter,
56};
57#[cfg(feature = "streaming-parser")]
58pub use diagnostics::{CollectingDiagnostics, NoopDiagnostics, ParseDiagnostics};
59pub use engine::{LocateOnly, TableBuilder};
60#[cfg(feature = "profile")]
61pub use engine::{
62 IS_PRED_FALSE, IS_PRED_TRUE, PREDICATE_EVALUATIONS, PREDICATE_FAILS, PREDICATE_UNDECIDED,
63 RESOLVE_AND_PUT_COUNT,
64};
65pub use error::{Error, Result};
66pub use input::InputBuffer;
67pub use merge::engines_to_record_batches;
68pub use observer::RowObserver;
69pub use parallel_stream::{
70 discover_schema_for_bytes, discovery_profile, reset_discovery_profile, ParallelStreamOpts,
71 ParallelStreamingBatchIterator, ParallelStreamingExecutor,
72};
73pub use pipeline::Pipeline;
74pub use plan::{CompareOp, ExecutionPlan, FieldType, FilterPredicate, RegexSpec, TrimMode};
75pub use schema::{DiscoveryOpts, FrozenSchema, UnknownFieldPolicy};
76pub use streaming::StreamingBatchIterator;
77#[cfg(feature = "streaming-parser")]
78pub use streaming_parser::{RecordStream, StreamState, StreamingRecordParser};
79pub use value::Value;