pub enum ScanSource {
DataFrame(DataFrame),
Csv {
path: PathBuf,
predicate: Option<Expr>,
projection: Option<Vec<String>>,
},
Parquet {
path: PathBuf,
predicate: Option<Expr>,
projection: Option<Vec<String>>,
},
}Expand description
Physical plan compiler and plan node types. Source for a physical scan operator.
Variants§
DataFrame(DataFrame)
In-memory scan of a DataFrame.
Csv
CSV file scan with optional predicate/projection pushdown.
Parquet
Parquet file scan with optional predicate/projection pushdown.
Trait Implementations§
Source§impl Clone for ScanSource
impl Clone for ScanSource
Source§fn clone(&self) -> ScanSource
fn clone(&self) -> ScanSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScanSource
impl !RefUnwindSafe for ScanSource
impl Send for ScanSource
impl Sync for ScanSource
impl Unpin for ScanSource
impl !UnwindSafe for ScanSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more