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

Blanket Implementations

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> FromCast<T> for T

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

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

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