#[repr(u8)]pub enum PhysicalEncoding {
None = 0,
FastPFOR = 1,
VarInt = 2,
Alp = 3,
}Expand description
Physical encoding used for a column, as stored in the tile
Variants§
None = 0
FastPFOR = 1
Preferred, tends to produce the best compression ratio and decoding performance. But currently limited to 32-bit integer.
VarInt = 2
Can produce better results in combination with a heavyweight compression scheme like Gzip.
Simple compression scheme where the encoding is easier to implement compared to FastPfor.
Alp = 3
Adaptive Lossless floating-Point Compression
Implementations§
Trait Implementations§
Source§impl Clone for PhysicalEncoding
impl Clone for PhysicalEncoding
Source§fn clone(&self) -> PhysicalEncoding
fn clone(&self) -> PhysicalEncoding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PhysicalEncoding
impl Debug for PhysicalEncoding
Source§impl Hash for PhysicalEncoding
impl Hash for PhysicalEncoding
Source§impl Ord for PhysicalEncoding
impl Ord for PhysicalEncoding
Source§fn cmp(&self, other: &PhysicalEncoding) -> Ordering
fn cmp(&self, other: &PhysicalEncoding) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PhysicalEncoding
impl PartialEq for PhysicalEncoding
Source§impl PartialOrd for PhysicalEncoding
impl PartialOrd for PhysicalEncoding
Source§impl TryFrom<u8> for PhysicalEncoding
impl TryFrom<u8> for PhysicalEncoding
Source§type Error = TryFromPrimitiveError<PhysicalEncoding>
type Error = TryFromPrimitiveError<PhysicalEncoding>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PhysicalEncoding
impl TryFromPrimitive for PhysicalEncoding
const NAME: &'static str = "PhysicalEncoding"
type Primitive = u8
type Error = TryFromPrimitiveError<PhysicalEncoding>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for PhysicalEncoding
impl Eq for PhysicalEncoding
impl StructuralPartialEq for PhysicalEncoding
Auto Trait Implementations§
impl Freeze for PhysicalEncoding
impl RefUnwindSafe for PhysicalEncoding
impl Send for PhysicalEncoding
impl Sync for PhysicalEncoding
impl Unpin for PhysicalEncoding
impl UnsafeUnpin for PhysicalEncoding
impl UnwindSafe for PhysicalEncoding
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