Type Alias datafusion_common::OwnedTableReference
source · pub type OwnedTableReference = TableReference<'static>;
Expand description
This is a TableReference
that has ’static lifetime (aka it
owns the underlying string)
To convert a TableReference
to an OwnedTableReference
, use
let table_reference = TableReference::from("mytable");
let owned_reference = table_reference.to_owned_reference();
Aliased Type§
enum OwnedTableReference {
Bare {
table: Cow<'static, str>,
},
Partial {
schema: Cow<'static, str>,
table: Cow<'static, str>,
},
Full {
catalog: Cow<'static, str>,
schema: Cow<'static, str>,
table: Cow<'static, str>,
},
}
Variants§
Bare
An unqualified table reference, e.g. “table”
Partial
Fields
A partially resolved table reference, e.g. “schema.table”
Full
Fields
A fully resolved table reference, e.g. “catalog.schema.table”