[−][src]Enum datafusion::logicalplan::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]
fn eq(&self, other: &ScalarValue) -> bool
[src]
fn ne(&self, other: &ScalarValue) -> bool
[src]
impl Clone for ScalarValue
[src]
fn clone(&self) -> 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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ScalarValue
[src]
Auto Trait Implementations
impl Unpin for ScalarValue
impl Sync for ScalarValue
impl Send for ScalarValue
impl RefUnwindSafe for ScalarValue
impl UnwindSafe for ScalarValue
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,