[][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(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(String)

utf-8 encoded string

Struct(Vec<ScalarValue>)

List of scalars packed as a struct

Implementations

impl ScalarValue[src]

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

Getter for the DataType of the value

Trait Implementations

impl Clone for ScalarValue[src]

impl Debug for ScalarValue[src]

impl PartialEq<ScalarValue> for ScalarValue[src]

impl StructuralPartialEq for ScalarValue[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]