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

Method with_temp_file_path

datafusion/execution/src/runtime_env.rs:425–430  ·  view source on GitHub ↗

Use the specified path to create any needed temporary files

(mut self, path: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

423
424 /// Use the specified path to create any needed temporary files
425 pub fn with_temp_file_path(mut self, path: impl Into<PathBuf>) -> Self {
426 let builder = self.disk_manager_builder.take().unwrap_or_default();
427 self.with_disk_manager_builder(
428 builder.with_mode(DiskManagerMode::Directories(vec![path.into()])),
429 )
430 }
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 {

Callers 1

set_runtime_variableMethod · 0.80

Calls 3

takeMethod · 0.45
with_modeMethod · 0.45

Tested by

no test coverage detected