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

Method with_object_list_cache_ttl

datafusion/execution/src/runtime_env.rs:451–454  ·  view source on GitHub ↗

Specifies the duration entries in the object list cache will be considered valid.

(mut self, ttl: Option<Duration>)

Source from the content-addressed store, hash-verified

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 {
452 self.cache_manager = self.cache_manager.with_list_files_cache_ttl(ttl);
453 self
454 }
455
456 pub fn with_file_statistics_cache_limit(mut self, limit: usize) -> Self {
457 self.cache_manager = self.cache_manager.with_file_statistics_cache_limit(limit);

Callers 2

set_runtime_variableMethod · 0.80

Calls 1

Tested by

no test coverage detected