Trait datafusion_common::scalar::ScalarType
source · pub trait ScalarType<T: ArrowNativeType> {
// Required method
fn scalar(r: Option<T>) -> ScalarValue;
}
Expand description
Trait used to map a NativeType to a ScalarValue
Required Methods§
sourcefn scalar(r: Option<T>) -> ScalarValue
fn scalar(r: Option<T>) -> ScalarValue
returns a scalar from an optional T
Object Safety§
This trait is not object safe.