[][src]Struct datafusion::datasource::memory::MemTable

pub struct MemTable { /* fields omitted */ }

In-memory table

Implementations

impl MemTable[src]

pub fn new(schema: SchemaRef, partitions: Vec<Vec<RecordBatch>>) -> Result<Self>[src]

Create a new in-memory table from the provided schema and record batches

pub async fn load<'_>(
    t: &'_ dyn TableProvider,
    batch_size: usize
) -> Result<Self>
[src]

Create a mem table by reading from another data source

Trait Implementations

impl TableProvider for MemTable[src]

Auto Trait Implementations

impl !RefUnwindSafe for MemTable

impl Send for MemTable

impl Sync for MemTable

impl Unpin for MemTable

impl !UnwindSafe for MemTable

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, U> Into<U> for T where
    U: From<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>,