Struct datafusion::physical_plan::parquet::ParquetExec[][src]

pub struct ParquetExec { /* fields omitted */ }

Execution plan for scanning one or more Parquet partitions

Implementations

impl ParquetExec[src]

pub fn try_from_path(
    path: &str,
    projection: Option<Vec<usize>>,
    predicate: Option<Expr>,
    batch_size: usize,
    max_concurrency: usize,
    limit: Option<usize>
) -> Result<Self>
[src]

Create a new Parquet reader execution plan based on the specified Parquet filename or directory containing Parquet files

pub fn try_from_files(
    filenames: &[&str],
    projection: Option<Vec<usize>>,
    predicate: Option<Expr>,
    batch_size: usize,
    max_concurrency: usize,
    limit: Option<usize>
) -> Result<Self>
[src]

Create a new Parquet reader execution plan based on the specified list of Parquet files

pub fn new(
    partitions: Vec<ParquetPartition>,
    schema: Schema,
    projection: Option<Vec<usize>>,
    predicate_builder: Option<RowGroupPredicateBuilder>,
    batch_size: usize,
    limit: Option<usize>
) -> Self
[src]

Create a new Parquet reader execution plan with provided partitions and schema

pub fn partitions(&self) -> &[ParquetPartition][src]

Parquet partitions to read

pub fn projection(&self) -> &[usize][src]

Projection for which columns to load

pub fn batch_size(&self) -> usize[src]

Batch size

pub fn statistics(&self) -> &Statistics[src]

Statistics for the data set (sum of statistics for all partitions)

Trait Implementations

impl Clone for ParquetExec[src]

impl Debug for ParquetExec[src]

impl ExecutionPlan for ParquetExec[src]

fn as_any(&self) -> &dyn Any[src]

Return a reference to Any that can be used for downcasting

fn output_partitioning(&self) -> Partitioning[src]

Get the output partitioning of this plan

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>,