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: StringThe catalog name
if_not_exists: boolDo nothing (except issuing a notice) if a schema with the same name already exists
schema: DFSchemaRefEmpty schema
Trait Implementations
sourceimpl Clone for CreateCatalog
impl Clone for CreateCatalog
sourcefn clone(&self) -> CreateCatalog
fn clone(&self) -> CreateCatalog
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
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
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