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

Method with_memory_pool

datafusion/execution/src/runtime_env.rs:389–392  ·  view source on GitHub ↗

Customize memory policy

(mut self, memory_pool: Arc<dyn MemoryPool>)

Source from the content-addressed store, hash-verified

387
388 /// Customize memory policy
389 pub fn with_memory_pool(mut self, memory_pool: Arc<dyn MemoryPool>) -> Self {
390 self.memory_pool = Some(memory_pool);
391 self
392 }
393
394 /// Customize cache policy
395 pub fn with_cache_manager(mut self, cache_manager: CacheManagerConfig) -> Self {

Calls

no outgoing calls