datafusion_datasource_parquet/mod.rs
1// Licensed to the Apache Software Foundation (ASF) under one
2// or more contributor license agreements. See the NOTICE file
3// distributed with this work for additional information
4// regarding copyright ownership. The ASF licenses this file
5// to you under the Apache License, Version 2.0 (the
6// "License"); you may not use this file except in compliance
7// with the License. You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing,
12// software distributed under the License is distributed on an
13// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14// KIND, either express or implied. See the License for the
15// specific language governing permissions and limitations
16// under the License.
17
18// Make sure fast / cheap clones on Arc are explicit:
19// https://github.com/apache/datafusion/issues/11143
20#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]
21
22pub mod access_plan;
23pub mod file_format;
24pub mod metadata;
25mod metrics;
26mod opener;
27mod page_filter;
28mod reader;
29mod row_filter;
30mod row_group_filter;
31pub mod source;
32mod writer;
33
34pub use access_plan::{ParquetAccessPlan, RowGroupAccess};
35pub use file_format::*;
36pub use metrics::ParquetFileMetrics;
37pub use page_filter::PagePruningAccessPlanFilter;
38pub use reader::*; // Expose so downstream crates can use it
39pub use row_filter::build_row_filter;
40pub use row_filter::can_expr_be_pushed_down_with_schemas;
41pub use row_group_filter::RowGroupAccessPlanFilter;
42pub use writer::plan_to_parquet;