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
ScalarType in datafusion::common - Rust
[go: Go Back, main page]

pub trait ScalarType<T>where
    T: ArrowNativeType,{
    // Required method
    fn scalar(r: Option<T>) -> ScalarValue;
}
Expand description

Trait used to map a NativeTime to a ScalarType.

Required Methods§

source

fn scalar(r: Option<T>) -> ScalarValue

returns a scalar from an optional T

Implementations on Foreign Types§

source§

impl ScalarType<f32> for Float32Type

source§

impl ScalarType<i64> for TimestampNanosecondType

source§

impl ScalarType<i64> for TimestampSecondType

source§

impl ScalarType<i64> for TimestampMicrosecondType

source§

impl ScalarType<i64> for TimestampMillisecondType

Implementors§