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

pub struct MemTable { /* fields omitted */ }

In-memory table

Methods

impl MemTable[src]

pub fn new(schema: Arc<Schema>, batches: Vec<RecordBatch>) -> Result<Self>[src]

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

pub fn load(t: &dyn TableProvider) -> Result<Self>[src]

Create a mem table by reading from another data source

Trait Implementations

impl TableProvider for MemTable[src]

Auto Trait Implementations

impl Send for MemTable

impl Sync for MemTable

impl Unpin for MemTable

impl !UnwindSafe for MemTable

impl !RefUnwindSafe for MemTable

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> FromCast<T> for T

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err