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

Method catalog_names

datafusion-examples/examples/data_io/catalog.rs:283–286  ·  view source on GitHub ↗

Retrieves the list of available catalog names

(&self)

Source from the content-addressed store, hash-verified

281
282 /// Retrieves the list of available catalog names
283 fn catalog_names(&self) -> Vec<String> {
284 let cats = self.catalogs.read().unwrap();
285 cats.keys().cloned().collect()
286 }
287
288 /// Retrieves a specific catalog by name, provided it exists.
289 fn catalog(&self, name: &str) -> Option<Arc<dyn CatalogProvider>> {

Callers 2

call_with_argsMethod · 0.45
tablesMethod · 0.45

Calls 3

readMethod · 0.80
collectMethod · 0.80
clonedMethod · 0.45

Tested by

no test coverage detected