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
Fields
table: &'a str
The table name
An unqualified table reference, e.g. “table”
Partial
A partially resolved table reference, e.g. “schema.table”
Full
Fields
catalog: &'a str
The catalog (aka database) containing the table
schema: &'a str
The schema containing the table
table: &'a str
The table name
A fully resolved table reference, e.g. “catalog.schema.table”
Implementations
sourceimpl<'a> TableReference<'a>
impl<'a> TableReference<'a>
Trait Implementations
sourceimpl<'a> Clone for TableReference<'a>
impl<'a> Clone for TableReference<'a>
sourcefn clone(&self) -> TableReference<'a>
fn clone(&self) -> TableReference<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> From<&'a str> for TableReference<'a>
impl<'a> From<&'a str> for TableReference<'a>
sourceimpl<'a> From<ResolvedTableReference<'a>> for TableReference<'a>
impl<'a> From<ResolvedTableReference<'a>> for TableReference<'a>
sourcefn from(resolved: ResolvedTableReference<'a>) -> Self
fn from(resolved: ResolvedTableReference<'a>) -> Self
Converts to this type from the input type.
impl<'a> Copy for TableReference<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TableReference<'a>
impl<'a> Send for TableReference<'a>
impl<'a> Sync for TableReference<'a>
impl<'a> Unpin for TableReference<'a>
impl<'a> UnwindSafe for TableReference<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more