Struct datafusion::execution::cache::cache_manager::CacheManager
source · pub struct CacheManager { /* private fields */ }
Implementations§
source§impl CacheManager
impl CacheManager
pub fn try_new( config: &CacheManagerConfig ) -> Result<Arc<CacheManager>, DataFusionError>
sourcepub fn get_file_statistic_cache(
&self
) -> Option<Arc<dyn CacheAccessor<Path, Arc<Statistics>, Extra = ObjectMeta>>>
pub fn get_file_statistic_cache( &self ) -> Option<Arc<dyn CacheAccessor<Path, Arc<Statistics>, Extra = ObjectMeta>>>
Get the cache of listing files statistics.
sourcepub fn get_list_files_cache(
&self
) -> Option<Arc<dyn CacheAccessor<Path, Arc<Vec<ObjectMeta>>, Extra = ObjectMeta>>>
pub fn get_list_files_cache( &self ) -> Option<Arc<dyn CacheAccessor<Path, Arc<Vec<ObjectMeta>>, Extra = ObjectMeta>>>
Get the cache of objectMeta under same path.
Trait Implementations§
source§impl Debug for CacheManager
impl Debug for CacheManager
source§impl Default for CacheManager
impl Default for CacheManager
source§fn default() -> CacheManager
fn default() -> CacheManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CacheManager
impl Send for CacheManager
impl Sync for CacheManager
impl Unpin for CacheManager
impl !UnwindSafe for CacheManager
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