Struct datafusion_data_access::object_store::local::LocalFileSystem
source · [−]pub struct LocalFileSystem;Expand description
Local File System as Object Store.
Trait Implementations
sourceimpl Debug for LocalFileSystem
impl Debug for LocalFileSystem
sourceimpl ObjectStore for LocalFileSystem
impl ObjectStore for LocalFileSystem
sourcefn list_file<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn list_file<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns all the files in path prefix
sourcefn list_dir<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 str,
delimiter: Option<String>
) -> Pin<Box<dyn Future<Output = Result<ListEntryStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn list_dir<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 str,
delimiter: Option<String>
) -> Pin<Box<dyn Future<Output = Result<ListEntryStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns all the files in prefix if the prefix is already a leaf dir,
or all paths between the prefix and the first occurrence of the delimiter if it is provided. Read more
sourcefn file_reader(&self, file: SizedFile) -> Result<Arc<dyn ObjectReader>>
fn file_reader(&self, file: SizedFile) -> Result<Arc<dyn ObjectReader>>
Get object reader for one file
sourcefn list_file_with_suffix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
prefix: &'life1 str,
suffix: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn list_file_with_suffix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
prefix: &'life1 str,
suffix: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Calls list_file with a suffix filter
sourcefn glob_file<'life0, 'life1, 'async_trait>(
&'life0 self,
glob_pattern: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn glob_file<'life0, 'life1, 'async_trait>(
&'life0 self,
glob_pattern: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns all the files matching glob_pattern
sourcefn glob_file_with_suffix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
glob_pattern: &'life1 str,
suffix: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn glob_file_with_suffix<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
glob_pattern: &'life1 str,
suffix: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<FileMetaStream>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Calls glob_file with a suffix filter
Auto Trait Implementations
impl RefUnwindSafe for LocalFileSystem
impl Send for LocalFileSystem
impl Sync for LocalFileSystem
impl Unpin for LocalFileSystem
impl UnwindSafe for LocalFileSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more