pub enum EncodingV2 {
Plain,
Dictionary,
Rle,
Bitpack,
Delta,
DeltaLength,
ByteStreamSplit,
FOR,
PFOR,
IncrementalString,
}Expand description
V2 Encoding strategy for a column.
Variants§
Plain
Raw values (V1 compatible).
Dictionary
Dictionary encoding with indexes (V1 compatible).
Rle
Run-length encoding (V1 compatible).
Bitpack
Bit-packed representation for bools (V1 compatible).
Delta
Delta encoding for sorted integers.
DeltaLength
Delta-length encoding for variable-length data.
ByteStreamSplit
Byte stream split for floating point values.
FOR
Frame of Reference encoding for small-range integers.
PFOR
Patched Frame of Reference for integers with outliers.
IncrementalString
Incremental string encoding for sorted strings.
Trait Implementations§
Source§impl Clone for EncodingV2
impl Clone for EncodingV2
Source§fn clone(&self) -> EncodingV2
fn clone(&self) -> EncodingV2
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 EncodingV2
impl Debug for EncodingV2
Source§impl<'de> Deserialize<'de> for EncodingV2
impl<'de> Deserialize<'de> for EncodingV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EncodingV2
impl PartialEq for EncodingV2
Source§impl Serialize for EncodingV2
impl Serialize for EncodingV2
impl Copy for EncodingV2
impl Eq for EncodingV2
impl StructuralPartialEq for EncodingV2
Auto Trait Implementations§
impl Freeze for EncodingV2
impl RefUnwindSafe for EncodingV2
impl Send for EncodingV2
impl Sync for EncodingV2
impl Unpin for EncodingV2
impl UnwindSafe for EncodingV2
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