pub struct DefaultFileMetadataProvider;Expand description
Default implementation of the FileMetadataProvider.
Trait Implementations§
Source§impl Debug for DefaultFileMetadataProvider
impl Debug for DefaultFileMetadataProvider
Source§impl FileMetadataProvider for DefaultFileMetadataProvider
impl FileMetadataProvider for DefaultFileMetadataProvider
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,
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.Auto Trait Implementations§
impl Freeze for DefaultFileMetadataProvider
impl RefUnwindSafe for DefaultFileMetadataProvider
impl Send for DefaultFileMetadataProvider
impl Sync for DefaultFileMetadataProvider
impl Unpin for DefaultFileMetadataProvider
impl UnwindSafe for DefaultFileMetadataProvider
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more