Struct datafusion::test_util::TestTableFactory
source · pub struct TestTableFactory {}
Expand description
TableFactory for tests
Trait Implementations§
source§impl TableProviderFactory for TestTableFactory
impl TableProviderFactory for TestTableFactory
source§fn create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_: &'life1 SessionState,
cmd: &'life2 CreateExternalTable
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn TableProvider>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, _: &'life1 SessionState, cmd: &'life2 CreateExternalTable ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn TableProvider>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Create a TableProvider with the given url
Auto Trait Implementations§
impl RefUnwindSafe for TestTableFactory
impl Send for TestTableFactory
impl Sync for TestTableFactory
impl Unpin for TestTableFactory
impl UnwindSafe for TestTableFactory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more