pub struct QueryConfig {
pub dialect: Option<SqlDialect>,
pub disk_mode: bool,
pub cache_enabled: bool,
pub tables: Option<Vec<String>>,
pub memory_limit: Option<String>,
pub progress: bool,
}Expand description
Configuration for the query engine
Fields§
§dialect: Option<SqlDialect>Source SQL dialect (auto-detected if None)
disk_mode: boolUse disk-based storage instead of in-memory
cache_enabled: boolEnable persistent caching
tables: Option<Vec<String>>Only import specific tables
memory_limit: Option<String>Memory limit for DuckDB (e.g., “4GB”)
progress: boolShow progress during import
Trait Implementations§
Source§impl Clone for QueryConfig
impl Clone for QueryConfig
Source§fn clone(&self) -> QueryConfig
fn clone(&self) -> QueryConfig
Returns a duplicate 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 QueryConfig
impl Debug for QueryConfig
Source§impl Default for QueryConfig
impl Default for QueryConfig
Source§fn default() -> QueryConfig
fn default() -> QueryConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryConfig
impl RefUnwindSafe for QueryConfig
impl Send for QueryConfig
impl Sync for QueryConfig
impl Unpin for QueryConfig
impl UnwindSafe for QueryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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