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#![cfg_attr(test, allow(clippy::needless_pass_by_value))]
22#![deny(clippy::allow_attributes)]
23
24pub mod access_plan;
25pub mod file_format;
26pub mod metadata;
27mod metrics;
28mod opener;
29mod page_filter;
30mod reader;
31mod row_filter;
32mod row_group_filter;
33mod sort;
34pub mod source;
35mod writer;
36
37pub use access_plan::{ParquetAccessPlan, RowGroupAccess};
38pub use file_format::*;
39pub use metrics::ParquetFileMetrics;
40pub use page_filter::PagePruningAccessPlanFilter;
41pub use reader::*; // Expose so downstream crates can use it
42pub use row_filter::build_row_filter;
43pub use row_filter::can_expr_be_pushed_down_with_schemas;
44pub use row_group_filter::RowGroupAccessPlanFilter;
45pub use writer::plan_to_parquet;