Enum datafusion::rel::ScalarValue
[−]
[src]
pub enum ScalarValue { Boolean(bool), Float32(f32), Float64(f64), Int8(i8), Int16(i16), Int32(i32), Int64(i64), UInt8(u8), UInt16(u16), UInt32(u32), UInt64(u64), Utf8(String), Struct(Vec<ScalarValue>), }
Value holder for all supported data types
Variants
Boolean(bool)
Float32(f32)
Float64(f64)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
UInt8(u8)
UInt16(u16)
UInt32(u32)
UInt64(u64)
Utf8(String)
Struct(Vec<ScalarValue>)
Methods
impl ScalarValue
[src]
Trait Implementations
impl Debug for ScalarValue
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ScalarValue
[src]
fn clone(&self) -> ScalarValue
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ScalarValue
[src]
fn eq(&self, __arg_0: &ScalarValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ScalarValue) -> bool
[src]
This method tests for !=
.
impl PartialOrd for ScalarValue
[src]
fn partial_cmp(&self, other: &ScalarValue) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more