pub struct CostConfiguration {
pub sequential_scan_cost: f64,
pub index_access_cost: f64,
pub cpu_tuple_cost: f64,
pub hash_build_cost: f64,
pub hash_probe_cost: f64,
pub filter_selectivity: f64,
pub parallel_threshold: f64,
}Expand description
Cost configuration parameters
Fields§
§sequential_scan_cost: f64Cost per sequential scan of one triple
index_access_cost: f64Cost per index access
cpu_tuple_cost: f64Cost per tuple processed by CPU
hash_build_cost: f64Cost to build hash table per tuple
hash_probe_cost: f64Cost to probe hash table per tuple
filter_selectivity: f64Default filter selectivity
parallel_threshold: f64Threshold for parallel execution
Trait Implementations§
Source§impl Clone for CostConfiguration
impl Clone for CostConfiguration
Source§fn clone(&self) -> CostConfiguration
fn clone(&self) -> CostConfiguration
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 CostConfiguration
impl Debug for CostConfiguration
Auto Trait Implementations§
impl Freeze for CostConfiguration
impl RefUnwindSafe for CostConfiguration
impl Send for CostConfiguration
impl Sync for CostConfiguration
impl Unpin for CostConfiguration
impl UnsafeUnpin for CostConfiguration
impl UnwindSafe for CostConfiguration
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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