Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
datafusion::logicalplan::ScalarValue - Rust
[go: Go Back, main page]

[][src]Enum datafusion::logicalplan::ScalarValue

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(Arc<String>),
    Struct(Vec<ScalarValue>),
}

ScalarValue enumeration

Variants

Null

null value

Boolean(bool)

true or false value

Float32(f32)

32bit float

Float64(f64)

64bit float

Int8(i8)

signed 8bit int

Int16(i16)

signed 16bit int

Int32(i32)

signed 32bit int

Int64(i64)

signed 64bit int

UInt8(u8)

unsigned 8bit int

UInt16(u16)

unsigned 16bit int

UInt32(u32)

unsigned 32bit int

UInt64(u64)

unsigned 64bit int

Utf8(Arc<String>)

utf-8 encoded string

Struct(Vec<ScalarValue>)

List of scalars packed as a struct

Methods

impl ScalarValue[src]

pub fn get_datatype(&self) -> DataType[src]

Getter for the DataType of the value

Trait Implementations

impl PartialEq<ScalarValue> for ScalarValue[src]

impl Clone for ScalarValue[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ScalarValue[src]

impl<'de> Deserialize<'de> for ScalarValue[src]

impl Serialize for ScalarValue[src]

Auto Trait Implementations

impl Send for ScalarValue

impl Sync for ScalarValue

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> FromCast for T

impl<T, U> Cast for T where
    U: FromCast<T>, 

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err