pub enum PredicateValue {
Boolean(Option<bool>),
Int8(Option<i8>),
Int16(Option<i16>),
Int32(Option<i32>),
Int64(Option<i64>),
Float32(Option<f32>),
Float64(Option<f64>),
Utf8(Option<String>),
}Expand description
A simplified value type for predicates
This is a simplified representation of scalar values for predicate evaluation. In the future, this could be replaced with arrow’s ScalarValue if available.
Variants§
Boolean(Option<bool>)
Boolean value
Int8(Option<i8>)
8-bit signed integer
Int16(Option<i16>)
16-bit signed integer
Int32(Option<i32>)
32-bit signed integer
Int64(Option<i64>)
64-bit signed integer
Float32(Option<f32>)
32-bit floating point
Float64(Option<f64>)
64-bit floating point
Utf8(Option<String>)
UTF-8 string
Trait Implementations§
Source§impl Clone for PredicateValue
impl Clone for PredicateValue
Source§fn clone(&self) -> PredicateValue
fn clone(&self) -> PredicateValue
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 moreSource§impl Debug for PredicateValue
impl Debug for PredicateValue
Source§impl PartialEq for PredicateValue
impl PartialEq for PredicateValue
impl StructuralPartialEq for PredicateValue
Auto Trait Implementations§
impl Freeze for PredicateValue
impl RefUnwindSafe for PredicateValue
impl Send for PredicateValue
impl Sync for PredicateValue
impl Unpin for PredicateValue
impl UnwindSafe for PredicateValue
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