Struct datafusion_common::config::CatalogOptions
source · #[non_exhaustive]pub struct CatalogOptions {
pub create_default_catalog_and_schema: bool,
pub default_catalog: String,
pub default_schema: String,
pub information_schema: bool,
pub location: Option<String>,
pub format: Option<String>,
pub has_header: bool,
}
Expand description
Options related to catalog and directory scanning
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.create_default_catalog_and_schema: bool
Whether the default catalog and schema should be created automatically.
default_catalog: String
The default catalog name - this impacts what SQL queries use if not specified
default_schema: String
The default schema name - this impacts what SQL queries use if not specified
information_schema: bool
Should DataFusion provide access to information_schema
virtual tables for displaying schema information
location: Option<String>
Location scanned to load tables for default
schema
format: Option<String>
Type of TableProvider
to use when loading default
schema
has_header: bool
If the file has a header
Trait Implementations§
source§impl Clone for CatalogOptions
impl Clone for CatalogOptions
source§fn clone(&self) -> CatalogOptions
fn clone(&self) -> CatalogOptions
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 Debug for CatalogOptions
impl Debug for CatalogOptions
Auto Trait Implementations§
impl RefUnwindSafe for CatalogOptions
impl Send for CatalogOptions
impl Sync for CatalogOptions
impl Unpin for CatalogOptions
impl UnwindSafe for CatalogOptions
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