pub struct CostModel {
pub row_scan_cost: f64,
pub index_lookup_cost: f64,
pub sort_cost_per_row: f64,
pub join_cost_per_row: f64,
pub memory_cost_factor: f64,
}Expand description
Cost model for query optimization
Fields§
§row_scan_cost: f64Cost per row scan
index_lookup_cost: f64Cost per index lookup
sort_cost_per_row: f64Cost per sort operation
join_cost_per_row: f64Cost per join operation
memory_cost_factor: f64Memory cost factor
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CostModel
impl RefUnwindSafe for CostModel
impl Send for CostModel
impl Sync for CostModel
impl Unpin for CostModel
impl UnsafeUnpin for CostModel
impl UnwindSafe for CostModel
Blanket Implementations§
impl<T> Allocation for T
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