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

Method schema

datafusion/common/src/table_reference.rs:175–180  ·  view source on GitHub ↗

Retrieve the schema name if [`Self::Partial]` or [`Self::`Full`], `None` otherwise.

(&self)

Source from the content-addressed store, hash-verified

173 /// Retrieve the schema name if [`Self::Partial]` or [`Self::`Full`],
174 /// `None` otherwise.
175 pub fn schema(&self) -> Option<&str> {
176 match self {
177 Self::Full { schema, .. } | Self::Partial { schema, .. } => Some(schema),
178 _ => None,
179 }
180 }
181
182 /// Retrieve the catalog name if [`Self::Full`], `None` otherwise.
183 pub fn catalog(&self) -> Option<&str> {

Callers 1

resolved_eqMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected