Enum mz_persist_types::columnar::ColumnFormat
source · pub enum ColumnFormat {
Show 15 variants
Bool,
I8,
I16,
I32,
I64,
U8,
U16,
U32,
U64,
F32,
F64,
Bytes,
String,
Struct(DynStructCfg),
OpaqueData,
}
Expand description
The in-memory rust type of a column of data.
The equality and sorting of the encoded column matches those of this rust type. Because of this, the variants are named after the rust type.
NB: This intentionally exists as a subset of arrow::datatypes::DataType.
It also represents slightly different semantics. The arrow
DataType always
indicates an optional field, where as these all indicate non-optional fields
(which may be made optional via DataType).
Variants§
Bool
A column of type bool.
I8
A column of type i8.
I16
A column of type i16.
I32
A column of type i32.
I64
A column of type i64.
U8
A column of type u8.
U16
A column of type u16.
U32
A column of type u32.
U64
A column of type u64.
F32
A column of type f32.
F64
A column of type f64.
Bytes
A column of type Vec<u8>
.
String
A column of type String.
Struct(DynStructCfg)
A column of type crate::dyn_struct::DynStruct.
OpaqueData
A column of type Vec<u8>
that contains opaque bytes.
Trait Implementations§
source§impl Clone for ColumnFormat
impl Clone for ColumnFormat
source§fn clone(&self) -> ColumnFormat
fn clone(&self) -> ColumnFormat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnFormat
impl Debug for ColumnFormat
source§impl PartialEq for ColumnFormat
impl PartialEq for ColumnFormat
impl StructuralPartialEq for ColumnFormat
Auto Trait Implementations§
impl Freeze for ColumnFormat
impl RefUnwindSafe for ColumnFormat
impl Send for ColumnFormat
impl Sync for ColumnFormat
impl Unpin for ColumnFormat
impl UnwindSafe for ColumnFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.