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

Method with_cache_factory

datafusion/core/src/execution/session_state.rs:1480–1486  ·  view source on GitHub ↗

Set a [`CacheFactory`] for custom caching strategy

(
        mut self,
        cache_factory: Option<Arc<dyn CacheFactory>>,
    )

Source from the content-addressed store, hash-verified

1478
1479 /// Set a [`CacheFactory`] for custom caching strategy
1480 pub fn with_cache_factory(
1481 mut self,
1482 cache_factory: Option<Arc<dyn CacheFactory>>,
1483 ) -> Self {
1484 self.cache_factory = cache_factory;
1485 self
1486 }
1487
1488 /// Set a [`StatisticsRegistry`] for pluggable statistics providers.
1489 ///

Calls

no outgoing calls

Tested by 1