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

Method catalog

datafusion-cli/src/catalog.rs:64–69  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

62 }
63
64 fn catalog(&self, name: &str) -> Option<Arc<dyn CatalogProvider>> {
65 let state = self.state.clone();
66 self.inner.catalog(name).map(|catalog| {
67 Arc::new(DynamicObjectStoreCatalogProvider::new(catalog, state)) as _
68 })
69 }
70}
71
72/// Wraps another catalog provider

Callers 1

setup_contextFunction · 0.45

Calls 3

newFunction · 0.85
cloneMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected