pub struct ScanPlan {
pub permutation: IndexPermutation,
pub tiles_total: usize,
pub tiles_routed: usize,
pub tiles_admitted: usize,
pub tile_bytes: u64,
pub section_bytes: u64,
}Expand description
What a routed scan of one pattern will touch, from the tile directories
alone — see [GraphIndex::scan_plan].
Fields§
§permutation: IndexPermutationThe permutation the scan routes to (always inside [PermSet::CORE]).
tiles_total: usizeTiles in that permutation’s section — the denominator.
tiles_routed: usizeTiles left after routing on the bound leading component.
tiles_admitted: usizeTiles left after the synopsis prune — what the scan will actually fetch.
tile_bytes: u64Encoded (on-disk) bytes of the admitted tiles: the index-side upper bound on the scan’s range reads.
section_bytes: u64Encoded bytes of the whole section — what an unpruned scan would read.
Trait Implementations§
impl Copy for ScanPlan
impl Eq for ScanPlan
impl StructuralPartialEq for ScanPlan
Auto Trait Implementations§
impl Freeze for ScanPlan
impl RefUnwindSafe for ScanPlan
impl Send for ScanPlan
impl Sync for ScanPlan
impl Unpin for ScanPlan
impl UnsafeUnpin for ScanPlan
impl UnwindSafe for ScanPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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