#[non_exhaustive]pub struct PlannedRange {
pub range: Range<u64>,
pub row_group: usize,
pub column: usize,
pub kind: PageKind,
pub(crate) first_row: u64,
pub(crate) last_row: u64,
}Expand description
One item of a ScanPlan.
Two items are equal if their public fields are equal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.range: Range<u64>Byte range in the file.
row_group: usizeRow group index in the file.
column: usizeLeaf column index in the file.
kind: PageKindWhat the range contains.
first_row: u64First planned row that this range serves, counted from the start of the plan. The tests use it to check the order of the plan.
last_row: u64One past the last planned row that this range serves.
Implementations§
Trait Implementations§
Source§impl Clone for PlannedRange
impl Clone for PlannedRange
Source§impl Debug for PlannedRange
impl Debug for PlannedRange
impl Eq for PlannedRange
Source§impl PartialEq for PlannedRange
Compares the public fields only. first_row and last_row count from
the start of a plan, so they differ between two plans of the same decoder.
impl PartialEq for PlannedRange
Compares the public fields only. first_row and last_row count from
the start of a plan, so they differ between two plans of the same decoder.
Auto Trait Implementations§
impl Freeze for PlannedRange
impl RefUnwindSafe for PlannedRange
impl Send for PlannedRange
impl Sync for PlannedRange
impl Unpin for PlannedRange
impl UnsafeUnpin for PlannedRange
impl UnwindSafe for PlannedRange
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
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.