Struct datafusion_expr::logical_plan::CreateCatalog
source · pub struct CreateCatalog {
pub catalog_name: String,
pub if_not_exists: bool,
pub schema: DFSchemaRef,
}
Expand description
Creates a catalog (aka “Database”).
Fields§
§catalog_name: String
The catalog name
if_not_exists: bool
Do nothing (except issuing a notice) if a schema with the same name already exists
schema: DFSchemaRef
Empty schema
Trait Implementations§
source§impl Clone for CreateCatalog
impl Clone for CreateCatalog
source§fn clone(&self) -> CreateCatalog
fn clone(&self) -> CreateCatalog
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 Hash for CreateCatalog
impl Hash for CreateCatalog
source§impl PartialEq<CreateCatalog> for CreateCatalog
impl PartialEq<CreateCatalog> for CreateCatalog
source§fn eq(&self, other: &CreateCatalog) -> bool
fn eq(&self, other: &CreateCatalog) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CreateCatalog
impl StructuralEq for CreateCatalog
impl StructuralPartialEq for CreateCatalog
Auto Trait Implementations§
impl RefUnwindSafe for CreateCatalog
impl Send for CreateCatalog
impl Sync for CreateCatalog
impl Unpin for CreateCatalog
impl UnwindSafe for CreateCatalog
Blanket Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.