[−][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 Send for ScalarValue
impl Sync for ScalarValue
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> FromCast for T
fn from_cast(t: T) -> T
impl<T, U> Cast for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,