Trait parquet2::types::NativeType
source · [−]pub trait NativeType: Sized + Copy + Debug + Send + Sync + 'static {
type Bytes: AsRef<[u8]> + for<'a> TryFrom<&'a [u8]>;
const TYPE: PhysicalType;
fn to_le_bytes(&self) -> Self::Bytes;
fn from_le_bytes(bytes: Self::Bytes) -> Self;
fn ord(&self, other: &Self) -> Ordering;
}
Expand description
A physical native representation of a Parquet fixed-sized type.