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

Method table_factory

datafusion/core/src/execution/context/mod.rs:557–562  ·  view source on GitHub ↗

Return the [`TableProviderFactory`] that is registered for the specified file type, if any.

(
        &self,
        file_type: &str,
    )

Source from the content-addressed store, hash-verified

555 /// Return the [`TableProviderFactory`] that is registered for the
556 /// specified file type, if any.
557 pub fn table_factory(
558 &self,
559 file_type: &str,
560 ) -> Option<Arc<dyn TableProviderFactory>> {
561 self.state.read().table_factories().get(file_type).cloned()
562 }
563
564 /// Return the `enable_ident_normalization` of this Session
565 pub fn enable_ident_normalization(&self) -> bool {

Callers

nothing calls this directly

Calls 4

table_factoriesMethod · 0.80
readMethod · 0.80
clonedMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected