Enum datafusion::types::ScalarValue [−][src]
pub enum ScalarValue { Null, Boolean(bool), Float32(f32), Float64(f64), Int8(i8), Int16(i16), Int32(i32), Int64(i64), UInt8(u8), UInt16(u16), UInt32(u32), UInt64(u64), Utf8(Rc<String>), Struct(Vec<ScalarValue>), }
ScalarValue enumeration
Variants
Null
Boolean(bool)
Float32(f32)
Float64(f64)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
UInt8(u8)
UInt16(u16)
UInt32(u32)
UInt64(u64)
Utf8(Rc<String>)
Struct(Vec<ScalarValue>)
Methods
impl ScalarValue
[src]
impl ScalarValue
pub fn get_datatype(&self) -> DataType
[src]
pub fn get_datatype(&self) -> DataType
impl ScalarValue
[src]
impl ScalarValue
pub fn get_bool(&self) -> Result<bool>
[src]
pub fn get_bool(&self) -> Result<bool>
pub fn get_i8(&self) -> Result<i8>
[src]
pub fn get_i8(&self) -> Result<i8>
pub fn get_i16(&self) -> Result<i16>
[src]
pub fn get_i16(&self) -> Result<i16>
pub fn get_i32(&self) -> Result<i32>
[src]
pub fn get_i32(&self) -> Result<i32>
pub fn get_i64(&self) -> Result<i64>
[src]
pub fn get_i64(&self) -> Result<i64>
pub fn get_u8(&self) -> Result<u8>
[src]
pub fn get_u8(&self) -> Result<u8>
pub fn get_u16(&self) -> Result<u16>
[src]
pub fn get_u16(&self) -> Result<u16>
pub fn get_u32(&self) -> Result<u32>
[src]
pub fn get_u32(&self) -> Result<u32>
pub fn get_u64(&self) -> Result<u64>
[src]
pub fn get_u64(&self) -> Result<u64>
pub fn get_f32(&self) -> Result<f32>
[src]
pub fn get_f32(&self) -> Result<f32>
pub fn get_f64(&self) -> Result<f64>
[src]
pub fn get_f64(&self) -> Result<f64>
pub fn get_string(&self) -> Result<&String>
[src]
pub fn get_string(&self) -> Result<&String>
pub fn get_struct(&self) -> Result<&Vec<ScalarValue>>
[src]
pub fn get_struct(&self) -> Result<&Vec<ScalarValue>>
Trait Implementations
impl Debug for ScalarValue
[src]
impl Debug for ScalarValue
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ScalarValue
[src]
impl Clone for ScalarValue
fn clone(&self) -> ScalarValue
[src]
fn clone(&self) -> ScalarValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ScalarValue
[src]
impl PartialEq for ScalarValue
fn eq(&self, other: &ScalarValue) -> bool
[src]
fn eq(&self, other: &ScalarValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ScalarValue) -> bool
[src]
fn ne(&self, other: &ScalarValue) -> bool
This method tests for !=
.
impl Add for ScalarValue
[src]
impl Add for ScalarValue
type Output = ScalarValue
The resulting type after applying the +
operator.
fn add(self, rhs: ScalarValue) -> ScalarValue
[src]
fn add(self, rhs: ScalarValue) -> ScalarValue
Performs the +
operation.
impl Display for ScalarValue
[src]
impl Display for ScalarValue
Auto Trait Implementations
impl !Send for ScalarValue
impl !Send for ScalarValue
impl !Sync for ScalarValue
impl !Sync for ScalarValue