#[repr(i32)]
pub enum PrimitiveScalarType {
Show 23 variants
Bool,
Uint8,
Int8,
Uint16,
Int16,
Uint32,
Int32,
Uint64,
Int64,
Float32,
Float64,
Utf8,
LargeUtf8,
Date32,
TimeMicrosecond,
TimeNanosecond,
Null,
Decimal128,
Date64,
TimeSecond,
TimeMillisecond,
IntervalYearmonth,
IntervalDaytime,
}Expand description
Contains all valid datafusion scalar type except for List
Variants
Bool
arrow::Type::BOOL
Uint8
arrow::Type::UINT8
Int8
arrow::Type::INT8
Uint16
represents arrow::Type fields in src/arrow/type.h
Int16
Uint32
Int32
Uint64
Int64
Float32
Float64
Utf8
LargeUtf8
Date32
TimeMicrosecond
TimeNanosecond
Null
Decimal128
Date64
TimeSecond
TimeMillisecond
IntervalYearmonth
IntervalDaytime
Implementations
Trait Implementations
sourceimpl Clone for PrimitiveScalarType
impl Clone for PrimitiveScalarType
sourcefn clone(&self) -> PrimitiveScalarType
fn clone(&self) -> PrimitiveScalarType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PrimitiveScalarType
impl Debug for PrimitiveScalarType
sourceimpl Default for PrimitiveScalarType
impl Default for PrimitiveScalarType
sourcefn default() -> PrimitiveScalarType
fn default() -> PrimitiveScalarType
Returns the “default value” for a type. Read more
sourceimpl From<PrimitiveScalarType> for i32
impl From<PrimitiveScalarType> for i32
sourcefn from(value: PrimitiveScalarType) -> i32
fn from(value: PrimitiveScalarType) -> i32
Converts to this type from the input type.
sourceimpl From<PrimitiveScalarType> for DataType
impl From<PrimitiveScalarType> for DataType
sourcefn from(scalar: PrimitiveScalarType) -> Self
fn from(scalar: PrimitiveScalarType) -> Self
Converts to this type from the input type.
sourceimpl Hash for PrimitiveScalarType
impl Hash for PrimitiveScalarType
sourceimpl Ord for PrimitiveScalarType
impl Ord for PrimitiveScalarType
sourceimpl PartialOrd<PrimitiveScalarType> for PrimitiveScalarType
impl PartialOrd<PrimitiveScalarType> for PrimitiveScalarType
sourcefn partial_cmp(&self, other: &PrimitiveScalarType) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimitiveScalarType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl TryFrom<&'_ PrimitiveScalarType> for ScalarValue
impl TryFrom<&'_ PrimitiveScalarType> for ScalarValue
sourceimpl TryFrom<&'_ i32> for PrimitiveScalarType
impl TryFrom<&'_ i32> for PrimitiveScalarType
impl Copy for PrimitiveScalarType
impl Eq for PrimitiveScalarType
impl StructuralEq for PrimitiveScalarType
impl StructuralPartialEq for PrimitiveScalarType
Auto Trait Implementations
impl RefUnwindSafe for PrimitiveScalarType
impl Send for PrimitiveScalarType
impl Sync for PrimitiveScalarType
impl Unpin for PrimitiveScalarType
impl UnwindSafe for PrimitiveScalarType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more