MCPcopy Create free account
hub / github.com/apache/datafusion / with_list_files_cache

Method with_list_files_cache

datafusion/execution/src/cache/cache_manager.rs:516–522  ·  view source on GitHub ↗

Set the cache for listing files. Default is `None` (disabled).

(
        mut self,
        cache: Option<Arc<dyn ListFilesCache>>,
    )

Source from the content-addressed store, hash-verified

514 ///
515 /// Default is `None` (disabled).
516 pub fn with_list_files_cache(
517 mut self,
518 cache: Option<Arc<dyn ListFilesCache>>,
519 ) -> Self {
520 self.list_files_cache = cache;
521 self
522 }
523
524 /// Sets the limit of the list files cache, in bytes.
525 ///

Calls

no outgoing calls