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

pub struct CsvExec { /* fields omitted */ }

Execution plan for scanning a CSV file

Implementations

impl CsvExec[src]

pub fn try_new(
    path: &str,
    options: CsvReadOptions,
    projection: Option<Vec<usize>>,
    batch_size: usize
) -> Result<Self>
[src]

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

pub fn try_infer_schema(path: &str, options: &CsvReadOptions) -> Result<Schema>[src]

Infer schema for given CSV dataset

Trait Implementations

impl ExecutionPlan for CsvExec[src]

fn schema(&self) -> SchemaRef[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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]