#[repr(i32)]pub enum ColumnLayout {
Fixed = 1,
String = 2,
Nullable = 3,
Array = 4,
Tuple = 5,
LowCardinality = 6,
Nothing = 7,
}Expand description
Storage layout of a decoded column.
Several ClickHouse types can share a layout. Use
Block::column_type to determine logical type.
Variants§
Fixed = 1
Fixed-width values stored as contiguous little-endian bytes.
String = 2
Offsets and byte data used by String and string-encoded JSON types.
Nullable = 3
Null map and dense inner column used by Nullable(T).
Array = 4
Offsets and element column used by Array(T), Map(K, V) as
Array(Tuple(K, V)), and Nested(...) as Array(Tuple(fields)).
Tuple = 5
Parallel child columns used by tuples, nested values, geographic types, and QBit values.
LowCardinality = 6
Keys and dictionary column used by LowCardinality(T).
Nothing = 7
Empty storage used by Nothing and Nullable(Nothing) inner columns.
Trait Implementations§
Source§impl Clone for ColumnLayout
impl Clone for ColumnLayout
impl Copy for ColumnLayout
Auto Trait Implementations§
impl Freeze for ColumnLayout
impl RefUnwindSafe for ColumnLayout
impl Send for ColumnLayout
impl Sync for ColumnLayout
impl Unpin for ColumnLayout
impl UnsafeUnpin for ColumnLayout
impl UnwindSafe for ColumnLayout
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
Mutably borrows from an owned value. Read more