Enum datafusion_sql::TableReference
source · pub enum TableReference<'a> {
Bare {
table: &'a str,
},
Partial {
schema: &'a str,
table: &'a str,
},
Full {
catalog: &'a str,
schema: &'a str,
table: &'a str,
},
}
Expand description
Represents a path to a table that may require further resolution
Variants§
Bare
An unqualified table reference, e.g. “table”
Partial
A partially resolved table reference, e.g. “schema.table”
Full
Fields
A fully resolved table reference, e.g. “catalog.schema.table”
Implementations§
source§impl<'a> TableReference<'a>
impl<'a> TableReference<'a>
Trait Implementations§
source§impl<'a> Clone for TableReference<'a>
impl<'a> Clone for TableReference<'a>
source§fn clone(&self) -> TableReference<'a>
fn clone(&self) -> TableReference<'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 TableReference<'a>
impl<'a> Debug for TableReference<'a>
source§impl<'a> From<&'a str> for TableReference<'a>
impl<'a> From<&'a str> for TableReference<'a>
source§fn from(s: &'a str) -> TableReference<'a>
fn from(s: &'a str) -> TableReference<'a>
Converts to this type from the input type.
source§impl<'a> From<ResolvedTableReference<'a>> for TableReference<'a>
impl<'a> From<ResolvedTableReference<'a>> for TableReference<'a>
source§fn from(resolved: ResolvedTableReference<'a>) -> TableReference<'a>
fn from(resolved: ResolvedTableReference<'a>) -> TableReference<'a>
Converts to this type from the input type.