Struct datafusion::physical_plan::parquet::ParquetPartition [−][src]
pub struct ParquetPartition { pub filenames: Vec<String>, pub statistics: Statistics, }
Represents one partition of a Parquet data set and this currently means one Parquet file.
In the future it would be good to support subsets of files based on ranges of row groups so that we can better parallelize reads of large files across available cores (see ARROW-10995).
We may also want to support reading Parquet files that are partitioned based on a key and in this case we would want this partition struct to represent multiple files for a given partition key (see ARROW-11019).
Fields
filenames: Vec<String>
The Parquet filename for this partition
statistics: Statistics
Statistics for this partition
Implementations
impl ParquetPartition
[src]
impl ParquetPartition
[src]pub fn new(filenames: Vec<String>, statistics: Statistics) -> Self
[src]
Create a new parquet partition
pub fn filenames(&self) -> &[String]
[src]
The Parquet filename for this partition
pub fn statistics(&self) -> &Statistics
[src]
Statistics for this partition
Trait Implementations
impl Clone for ParquetPartition
[src]
impl Clone for ParquetPartition
[src]fn clone(&self) -> ParquetPartition
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for ParquetPartition
impl RefUnwindSafe for ParquetPartition
impl Send for ParquetPartition
impl Send for ParquetPartition
impl Sync for ParquetPartition
impl Sync for ParquetPartition
impl Unpin for ParquetPartition
impl Unpin for ParquetPartition
impl UnwindSafe for ParquetPartition
impl UnwindSafe for ParquetPartition