[−][src]Trait datafusion::datasource::datasource::TableProvider
Source table
Required methods
fn schema(&self) -> SchemaRef
Get a reference to the schema for this table
fn scan(
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Arc<dyn ExecutionPlan>>
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Arc<dyn ExecutionPlan>>
Create an ExecutionPlan that will scan the table.
Implementors
impl TableProvider for CsvFile
[src]
fn schema(&self) -> SchemaRef
[src]
fn scan(
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Arc<dyn ExecutionPlan>>
[src]
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Arc<dyn ExecutionPlan>>
impl TableProvider for MemTable
[src]
fn schema(&self) -> SchemaRef
[src]
fn scan(
&self,
projection: &Option<Vec<usize>>,
_batch_size: usize
) -> Result<Arc<dyn ExecutionPlan>>
[src]
&self,
projection: &Option<Vec<usize>>,
_batch_size: usize
) -> Result<Arc<dyn ExecutionPlan>>