common_datasource::file_format

Trait FileFormat

source
pub trait FileFormat:
    Send
    + Sync
    + Debug {
    // Required method
    fn infer_schema<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        store: &'life1 ObjectStore,
        path: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<ArrowSchema>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn infer_schema<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, store: &'life1 ObjectStore, path: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<ArrowSchema>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§