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§
Sourcefn 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,
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.