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

Method with_object_list_cache_limit

datafusion/execution/src/runtime_env.rs:445–448  ·  view source on GitHub ↗

Specifies the memory limit for the object list cache, in bytes.

(mut self, limit: usize)

Source from the content-addressed store, hash-verified

443
444 /// Specifies the memory limit for the object list cache, in bytes.
445 pub fn with_object_list_cache_limit(mut self, limit: usize) -> Self {
446 self.cache_manager = self.cache_manager.with_list_files_cache_limit(limit);
447 self
448 }
449
450 /// Specifies the duration entries in the object list cache will be considered valid.
451 pub fn with_object_list_cache_ttl(mut self, ttl: Option<Duration>) -> Self {

Calls 1