Struct datafusion::logical_plan::plan::TableScan
source · [−]pub struct TableScan {
pub table_name: String,
pub source: Arc<dyn TableProvider>,
pub projection: Option<Vec<usize>>,
pub projected_schema: DFSchemaRef,
pub filters: Vec<Expr>,
pub limit: Option<usize>,
}
Expand description
Produces rows from a table provider by reference or from the context
Fields
table_name: String
The name of the table
source: Arc<dyn TableProvider>
The source of the table
projection: Option<Vec<usize>>
Optional column indices to use as a projection
projected_schema: DFSchemaRef
The schema description of the output
filters: Vec<Expr>
Optional expressions to be used as filters by the table provider
limit: Option<usize>
Optional limit to skip reading
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TableScan
impl Send for TableScan
impl Sync for TableScan
impl Unpin for TableScan
impl !UnwindSafe for TableScan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more