Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
ParquetPartition in datafusion::physical_plan::parquet - Rust
[go: Go Back, main page]

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]

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 Debug for ParquetPartition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,