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

Method catalog

datafusion/common/src/table_reference.rs:183–188  ·  view source on GitHub ↗

Retrieve the catalog name if [`Self::Full`], `None` otherwise.

(&self)

Source from the content-addressed store, hash-verified

181
182 /// Retrieve the catalog name if [`Self::Full`], `None` otherwise.
183 pub fn catalog(&self) -> Option<&str> {
184 match self {
185 Self::Full { catalog, .. } => Some(catalog),
186 _ => None,
187 }
188 }
189
190 /// Compare with another [`TableReference`] as if both are resolved.
191 /// This allows comparing across variants. If a field is not present

Callers 4

to_json_valueMethod · 0.45
resolved_eqMethod · 0.45

Calls

no outgoing calls

Tested by 1