FileMetadataProvider

Trait FileMetadataProvider 

Source
pub trait FileMetadataProvider:
    Debug
    + Send
    + Sync {
    // Required method
    fn list_all_files<'life0, 'async_trait>(
        &'life0 self,
        store: Arc<dyn ObjectStore>,
        url: ListingTableUrl,
        file_extension: String,
        ignore_subdirectory: bool,
    ) -> Pin<Box<dyn Future<Output = BoxStream<'static, Result<ObjectMeta>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Provides ObjectMeta data to the FileMetadata table provider.

Required Methods§

Source

fn list_all_files<'life0, 'async_trait>( &'life0 self, store: Arc<dyn ObjectStore>, url: ListingTableUrl, file_extension: String, ignore_subdirectory: bool, ) -> Pin<Box<dyn Future<Output = BoxStream<'static, Result<ObjectMeta>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

List all files in the store for the given url prefix.

Implementors§