pub struct JoinOptimizerConfig {
pub max_relations: usize,
pub hash_join_threshold: u64,
pub default_selectivity: f64,
pub prefer_small_left: bool,
}Expand description
Configuration for the join order optimizer.
Fields§
§max_relations: usizeAbove this count the optimizer falls back to greedy.
hash_join_threshold: u64Use hash join when the inner relation exceeds this many rows.
default_selectivity: f64Assumed selectivity when unknown.
prefer_small_left: boolWhen true, place the smaller relation on the left (build side) in hash joins.
Trait Implementations§
Source§impl Clone for JoinOptimizerConfig
impl Clone for JoinOptimizerConfig
Source§fn clone(&self) -> JoinOptimizerConfig
fn clone(&self) -> JoinOptimizerConfig
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 JoinOptimizerConfig
impl Debug for JoinOptimizerConfig
Auto Trait Implementations§
impl Freeze for JoinOptimizerConfig
impl RefUnwindSafe for JoinOptimizerConfig
impl Send for JoinOptimizerConfig
impl Sync for JoinOptimizerConfig
impl Unpin for JoinOptimizerConfig
impl UnsafeUnpin for JoinOptimizerConfig
impl UnwindSafe for JoinOptimizerConfig
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