[−][src]Trait datafusion::datasource::datasource::TableProvider
Source table
Required methods
fn schema(&self) -> &Arc<Schema>
Get a reference to the schema for this table
fn scan(
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Vec<ScanResult>>
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Vec<ScanResult>>
Perform a scan of a table and return a sequence of iterators over the data (one iterator per partition)
Implementors
impl TableProvider for CsvFile
[src]
fn schema(&self) -> &Arc<Schema>
[src]
fn scan(
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Vec<ScanResult>>
[src]
&self,
projection: &Option<Vec<usize>>,
batch_size: usize
) -> Result<Vec<ScanResult>>
impl TableProvider for MemTable
[src]
fn schema(&self) -> &Arc<Schema>
[src]
fn scan(
&self,
projection: &Option<Vec<usize>>,
_batch_size: usize
) -> Result<Vec<ScanResult>>
[src]
&self,
projection: &Option<Vec<usize>>,
_batch_size: usize
) -> Result<Vec<ScanResult>>