pub struct AccessPath {
pub table: String,
pub kind: AccessPathKind,
pub index: Option<String>,
pub estimated_cost: f64,
pub estimated_rows: f64,
pub time_travel: Option<TimeTravelClause>,
pub probe: Option<AccessPathProbe>,
}Expand description
A concrete access path chosen by the planner.
Fields§
§table: StringTable being accessed.
kind: AccessPathKindKind of scan.
index: Option<String>Index used (None for full table scan / rowid lookup / rowid range).
estimated_cost: f64Estimated cost in page reads.
estimated_rows: f64Estimated rows returned.
time_travel: Option<TimeTravelClause>Time-travel clause (SQL:2011 temporal query) — FOR SYSTEM_TIME AS OF ....
probe: Option<AccessPathProbe>Probe expressions extracted during path selection — avoids downstream re-extraction from the WHERE clause.
Trait Implementations§
Source§impl Clone for AccessPath
impl Clone for AccessPath
Source§fn clone(&self) -> AccessPath
fn clone(&self) -> AccessPath
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 AccessPath
impl Debug for AccessPath
Source§impl From<&AccessPath> for AccessPathSummary
impl From<&AccessPath> for AccessPathSummary
Source§fn from(ap: &AccessPath) -> Self
fn from(ap: &AccessPath) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AccessPath
impl PartialEq for AccessPath
Source§fn eq(&self, other: &AccessPath) -> bool
fn eq(&self, other: &AccessPath) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessPath
Auto Trait Implementations§
impl Freeze for AccessPath
impl RefUnwindSafe for AccessPath
impl Send for AccessPath
impl Sync for AccessPath
impl Unpin for AccessPath
impl UnsafeUnpin for AccessPath
impl UnwindSafe for AccessPath
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