pub struct ColumnLearnedRange { /* private fields */ }Implementations§
Source§impl ColumnLearnedRange
impl ColumnLearnedRange
Sourcepub fn range(&self, lo: i64, hi: i64) -> HashSet<u64>
pub fn range(&self, lo: i64, hi: i64) -> HashSet<u64>
Row ids whose value is in [lo, hi] (inclusive).
Sourcepub fn build_f64(pairs: &[(f64, u64)]) -> Self
pub fn build_f64(pairs: &[(f64, u64)]) -> Self
Build from (f64_value, row_id) pairs (Phase 13.3).
Sourcepub fn range_f64(
&self,
lo: f64,
lo_inclusive: bool,
hi: f64,
hi_inclusive: bool,
) -> HashSet<u64>
pub fn range_f64( &self, lo: f64, lo_inclusive: bool, hi: f64, hi_inclusive: bool, ) -> HashSet<u64>
Row ids whose f64 value is in [lo, hi] with per-bound inclusivity
(Phase 13.3).
Sourcepub fn snapshot(&self) -> ColumnLearnedRangeSnapshot
pub fn snapshot(&self) -> ColumnLearnedRangeSnapshot
Snapshot (value_key, row_id, pgm segments/epsilon) for checkpointing.
Sourcepub fn from_snapshot(snap: ColumnLearnedRangeSnapshot) -> Self
pub fn from_snapshot(snap: ColumnLearnedRangeSnapshot) -> Self
Rebuild from a snapshot produced by ColumnLearnedRange::snapshot.
Trait Implementations§
Source§impl Clone for ColumnLearnedRange
impl Clone for ColumnLearnedRange
Source§fn clone(&self) -> ColumnLearnedRange
fn clone(&self) -> ColumnLearnedRange
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 moreAuto Trait Implementations§
impl Freeze for ColumnLearnedRange
impl RefUnwindSafe for ColumnLearnedRange
impl Send for ColumnLearnedRange
impl Sync for ColumnLearnedRange
impl Unpin for ColumnLearnedRange
impl UnsafeUnpin for ColumnLearnedRange
impl UnwindSafe for ColumnLearnedRange
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
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