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

Method get_metadata_cache_limit

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

Get the limit of the file embedded metadata cache.

(&self)

Source from the content-addressed store, hash-verified

444
445 /// Get the limit of the file embedded metadata cache.
446 pub fn get_metadata_cache_limit(&self) -> usize {
447 self.file_metadata_cache.cache_limit()
448 }
449}
450
451pub const DEFAULT_METADATA_CACHE_LIMIT: usize = 50 * 1024 * 1024; // 50M

Callers 2

config_entriesMethod · 0.80
from_runtime_envMethod · 0.80

Calls 1

cache_limitMethod · 0.45

Tested by

no test coverage detected