Trait datafusion::common::scalar::ScalarType

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

Trait used to map a NativeType to a ScalarValue

Required Methods§

source

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

returns a scalar from an optional T

Object Safety§

This trait is not object safe.

Implementors§