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
datafusion::execution::physical_plan::csv::CsvExec - Rust
[go: Go Back, main page]

[][src]Struct datafusion::execution::physical_plan::csv::CsvExec

pub struct CsvExec { /* fields omitted */ }

Execution plan for scanning a CSV file

Methods

impl CsvExec[src]

pub fn try_new(
    path: &str,
    schema: Arc<Schema>,
    has_header: bool,
    projection: Option<Vec<usize>>,
    batch_size: usize
) -> Result<Self>
[src]

Create a new execution plan for reading a set of CSV files

Trait Implementations

impl ExecutionPlan for CsvExec[src]

fn schema(&self) -> Arc<Schema>[src]

Get the schema for this execution plan

fn partitions(&self) -> Result<Vec<Arc<dyn Partition>>>[src]

Get the partitions for this execution plan. Each partition can be executed in parallel.

Auto Trait Implementations

impl RefUnwindSafe for CsvExec

impl Send for CsvExec

impl Sync for CsvExec

impl Unpin for CsvExec

impl UnwindSafe for CsvExec

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, U> Cast<U> for T where
    U: FromCast<T>, 

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

impl<T> FromCast<T> for T

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

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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