pub enum AccessPathKind {
FullTableScan,
IndexScanRange {
selectivity: f64,
},
IndexScanEquality,
CoveringIndexScan {
selectivity: f64,
},
RowidLookup,
}Expand description
The kind of access path the planner can choose for a table scan.
Variants§
FullTableScan
Sequential scan of all table pages.
IndexScanRange
Index range scan (e.g. col > expr, col BETWEEN).
IndexScanEquality
Index equality scan (e.g. col = expr).
CoveringIndexScan
Covering index scan (all needed columns are in the index).
RowidLookup
Direct rowid lookup (e.g. WHERE rowid = ?).
Trait Implementations§
Source§impl Clone for AccessPathKind
impl Clone for AccessPathKind
Source§fn clone(&self) -> AccessPathKind
fn clone(&self) -> AccessPathKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccessPathKind
impl Debug for AccessPathKind
Source§impl PartialEq for AccessPathKind
impl PartialEq for AccessPathKind
Source§fn eq(&self, other: &AccessPathKind) -> bool
fn eq(&self, other: &AccessPathKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessPathKind
Auto Trait Implementations§
impl Freeze for AccessPathKind
impl RefUnwindSafe for AccessPathKind
impl Send for AccessPathKind
impl Sync for AccessPathKind
impl Unpin for AccessPathKind
impl UnsafeUnpin for AccessPathKind
impl UnwindSafe for AccessPathKind
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