pub enum ScanPlan {
SeqScan,
PkLookup {
pk_values: Vec<Value>,
},
PkRangeScan {
start_key: Vec<u8>,
range_conds: Vec<(BinOp, Value)>,
num_pk_cols: usize,
},
IndexScan {
index_name: String,
idx_table: Vec<u8>,
prefix: Vec<u8>,
num_prefix_cols: usize,
range_conds: Vec<(BinOp, Value)>,
is_unique: bool,
index_columns: Vec<u16>,
},
InvertedScan {
kind: InvertedKind,
idx_table: Vec<u8>,
column_idx: u16,
probe_entries: Vec<Vec<u8>>,
recheck_expr: Expr,
recheck_needed: bool,
},
}Variants§
Trait Implementations§
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