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

Method state_weak_ref

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

Get weak reference to [`SessionState`]

(&self)

Source from the content-addressed store, hash-verified

2037
2038 /// Get weak reference to [`SessionState`]
2039 pub fn state_weak_ref(&self) -> Weak<RwLock<SessionState>> {
2040 Arc::downgrade(&self.state)
2041 }
2042
2043 /// Register [`CatalogProviderList`] in [`SessionState`]
2044 pub fn register_catalog_list(&self, catalog_list: Arc<dyn CatalogProviderList>) {

Callers 3

enable_url_tableMethod · 0.80
main_innerFunction · 0.80
setup_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected