datafusion_catalog

Trait UrlTableFactory

Source
pub trait UrlTableFactory:
    Debug
    + Sync
    + Send {
    // Required method
    fn try_new<'life0, 'life1, 'async_trait>(
        &'life0 self,
        url: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Option<Arc<dyn TableProvider>>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

UrlTableFactory is a factory that can create a table provider from the given url.

Required Methods§

Source

fn try_new<'life0, 'life1, 'async_trait>( &'life0 self, url: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<Arc<dyn TableProvider>>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

create a new table provider from the provided url

Implementors§