pub enum VectorPredicate {
IntGt {
col_idx: usize,
threshold: i64,
},
IntLt {
col_idx: usize,
threshold: i64,
},
IntEq {
col_idx: usize,
value: i64,
},
IntGe {
col_idx: usize,
threshold: i64,
},
IntLe {
col_idx: usize,
threshold: i64,
},
StrEq {
col_idx: usize,
value: String,
},
StrPrefix {
col_idx: usize,
prefix: String,
},
BoolEq {
col_idx: usize,
value: bool,
},
IsNull {
col_idx: usize,
},
IsNotNull {
col_idx: usize,
},
}Expand description
Vectorized predicate for batch evaluation
Variants§
IntGt
Integer greater than
IntLt
Integer less than
IntEq
Integer equals
IntGe
Integer greater or equal
IntLe
Integer less or equal
StrEq
String equals
StrPrefix
String prefix match
BoolEq
Boolean equals
IsNull
Is null check
IsNotNull
Is not null check
Trait Implementations§
Source§impl Clone for VectorPredicate
impl Clone for VectorPredicate
Source§fn clone(&self) -> VectorPredicate
fn clone(&self) -> VectorPredicate
Returns a duplicate of the value. Read more
1.0.0 · 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 VectorPredicate
impl RefUnwindSafe for VectorPredicate
impl Send for VectorPredicate
impl Sync for VectorPredicate
impl Unpin for VectorPredicate
impl UnsafeUnpin for VectorPredicate
impl UnwindSafe for VectorPredicate
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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