pub enum ColumnEncoding {
Plain,
Auto,
}Expand description
How a columnar table’s column pages store their values.
A read hands a column out in its own layout. A page stored that way is
handed out as a view of itself; any other encoding is built back into
the layout by the read that wants the column whole, which costs time on
every read of a warm page and saves bytes on the ones that come from disk.
A level whose tables are read often wants Plain; a level
whose tables are mostly stored wants Auto, as it wants a
stronger compression.
Variants§
Plain
Every page in its column’s own layout.
Auto
Each page as the expression over light operators (constant, runs, dictionary, bit packing, deltas) that costs least to store and to read, which is the plain layout when nothing beats it.
Trait Implementations§
Source§impl Clone for ColumnEncoding
impl Clone for ColumnEncoding
impl Copy for ColumnEncoding
Source§impl Debug for ColumnEncoding
impl Debug for ColumnEncoding
Source§impl Default for ColumnEncoding
impl Default for ColumnEncoding
impl Eq for ColumnEncoding
Source§impl PartialEq for ColumnEncoding
impl PartialEq for ColumnEncoding
impl StructuralPartialEq for ColumnEncoding
Auto Trait Implementations§
impl Freeze for ColumnEncoding
impl RefUnwindSafe for ColumnEncoding
impl Send for ColumnEncoding
impl Sync for ColumnEncoding
impl Unpin for ColumnEncoding
impl UnsafeUnpin for ColumnEncoding
impl UnwindSafe for ColumnEncoding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more