pub trait ScalarExt: Sized {
// Required methods
fn serialize(&self) -> String;
fn serialize_encoded(&self) -> String;
fn from_array(arr: &dyn Array, index: usize) -> Option<Self>;
}
Expand description
Auxiliary methods for dealing with kernel scalars
Required Methods§
Sourcefn serialize_encoded(&self) -> String
fn serialize_encoded(&self) -> String
Serialize to string for use in hive partition file names
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl ScalarExt for Scalar
impl ScalarExt for Scalar
Source§fn serialize_encoded(&self) -> String
fn serialize_encoded(&self) -> String
Serializes this scalar as a string for use in hive partition file names.