Type Alias datafusion_common::OwnedSchemaReference
source · pub type OwnedSchemaReference = SchemaReference<'static>;
Aliased Type§
enum OwnedSchemaReference {
Bare {
schema: Cow<'static, str>,
},
Full {
schema: Cow<'static, str>,
catalog: Cow<'static, str>,
},
}
Variants§
Implementations§
source§impl SchemaReference<'_>
impl SchemaReference<'_>
sourcepub fn schema_name(&self) -> &str
pub fn schema_name(&self) -> &str
Get only the schema name that this references.
Trait Implementations§
source§impl<'a> Clone for SchemaReference<'a>
impl<'a> Clone for SchemaReference<'a>
source§fn clone(&self) -> SchemaReference<'a>
fn clone(&self) -> SchemaReference<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SchemaReference<'a>
impl<'a> Debug for SchemaReference<'a>
source§impl Display for SchemaReference<'_>
impl Display for SchemaReference<'_>
source§impl<'a> From<&'a SchemaReference<'static>> for SchemaReference<'a>
impl<'a> From<&'a SchemaReference<'static>> for SchemaReference<'a>
source§fn from(value: &'a OwnedSchemaReference) -> Self
fn from(value: &'a OwnedSchemaReference) -> Self
Converts to this type from the input type.
source§impl<'a> Hash for SchemaReference<'a>
impl<'a> Hash for SchemaReference<'a>
source§impl<'a> Ord for SchemaReference<'a>
impl<'a> Ord for SchemaReference<'a>
source§fn cmp(&self, other: &SchemaReference<'a>) -> Ordering
fn cmp(&self, other: &SchemaReference<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq<SchemaReference<'a>> for SchemaReference<'a>
impl<'a> PartialEq<SchemaReference<'a>> for SchemaReference<'a>
source§fn eq(&self, other: &SchemaReference<'a>) -> bool
fn eq(&self, other: &SchemaReference<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd<SchemaReference<'a>> for SchemaReference<'a>
impl<'a> PartialOrd<SchemaReference<'a>> for SchemaReference<'a>
source§fn partial_cmp(&self, other: &SchemaReference<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaReference<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more