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

Method with_max_temp_directory_size

datafusion/execution/src/runtime_env.rs:433–436  ·  view source on GitHub ↗

Specify a limit on the size of the temporary file directory in bytes

(mut self, size: u64)

Source from the content-addressed store, hash-verified

431
432 /// Specify a limit on the size of the temporary file directory in bytes
433 pub fn with_max_temp_directory_size(mut self, size: u64) -> Self {
434 let builder = self.disk_manager_builder.take().unwrap_or_default();
435 self.with_disk_manager_builder(builder.with_max_temp_directory_size(size))
436 }
437
438 /// Specify the limit of the file-embedded metadata cache, in bytes.
439 pub fn with_metadata_cache_limit(mut self, limit: usize) -> Self {

Callers 4

set_runtime_variableMethod · 0.45
setup_contextFunction · 0.45
main_innerFunction · 0.45

Calls 2

takeMethod · 0.45

Tested by 1

setup_contextFunction · 0.36