[−][src]Struct datafusion::physical_plan::parquet::ParquetExec
Execution plan for scanning one or more Parquet partitions
Implementations
impl ParquetExec
[src]
pub fn try_from_path(
path: &str,
projection: Option<Vec<usize>>,
batch_size: usize,
max_concurrency: usize
) -> Result<Self>
[src]
path: &str,
projection: Option<Vec<usize>>,
batch_size: usize,
max_concurrency: usize
) -> Result<Self>
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>>,
batch_size: usize,
max_concurrency: usize
) -> Result<Self>
[src]
filenames: &[&str],
projection: Option<Vec<usize>>,
batch_size: usize,
max_concurrency: usize
) -> Result<Self>
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>>,
batch_size: usize
) -> Self
[src]
partitions: Vec<ParquetPartition>,
schema: Schema,
projection: Option<Vec<usize>>,
batch_size: usize
) -> Self
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]
fn clone(&self) -> ParquetExec
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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 schema(&self) -> SchemaRef
[src]
fn children(&self) -> Vec<Arc<dyn ExecutionPlan>>
[src]
fn output_partitioning(&self) -> Partitioning
[src]
Get the output partitioning of this plan
fn with_new_children(
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
[src]
&self,
children: Vec<Arc<dyn ExecutionPlan>>
) -> Result<Arc<dyn ExecutionPlan>>
fn execute<'life0, 'async_trait>(
&'life0 self,
partition: usize
) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
partition: usize
) -> Pin<Box<dyn Future<Output = Result<SendableRecordBatchStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn required_child_distribution(&self) -> Distribution
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParquetExec
[src]
impl Send for ParquetExec
[src]
impl Sync for ParquetExec
[src]
impl Unpin for ParquetExec
[src]
impl UnwindSafe for ParquetExec
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,