pub struct CreateExternalCatalog {
pub catalog_name: ObjectName,
pub catalog_type: String,
pub location: Option<String>,
pub if_not_exists: bool,
pub or_replace: bool,
pub options: Vec<(String, Value)>,
}Expand description
DataFusion extension CREATE EXTERNAL CATALOG statement.
CREATE [OR REPLACE] EXTERNAL CATALOG [IF NOT EXISTS] <catalog_name>
STORED AS <catalog_type>
[ LOCATION <literal> ]
[ OPTIONS (<key_value_list>) ]
<key_value_list> := (<literal> <literal>, <literal> <literal>, ...)Fields§
§catalog_name: ObjectNameCatalog name
catalog_type: StringThe key used to look up the registered CatalogProviderFactory
location: Option<String>The physical location of the catalog, if applicable
if_not_exists: boolOption to not error if catalog already exists
or_replace: boolOption to replace the catalog if it already exists
options: Vec<(String, Value)>Catalog(provider) specific options
Trait Implementations§
Source§impl Clone for CreateExternalCatalog
impl Clone for CreateExternalCatalog
Source§impl Debug for CreateExternalCatalog
impl Debug for CreateExternalCatalog
Source§impl Display for CreateExternalCatalog
impl Display for CreateExternalCatalog
impl Eq for CreateExternalCatalog
Source§impl PartialEq for CreateExternalCatalog
impl PartialEq for CreateExternalCatalog
impl StructuralPartialEq for CreateExternalCatalog
Auto Trait Implementations§
impl Forget for CreateExternalCatalog
impl Freeze for CreateExternalCatalog
impl Move for CreateExternalCatalog
impl RefUnwindSafe for CreateExternalCatalog
impl Send for CreateExternalCatalog
impl Sync for CreateExternalCatalog
impl Unpin for CreateExternalCatalog
impl UnsafeUnpin for CreateExternalCatalog
impl UnwindSafe for CreateExternalCatalog
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more