pub enum CompressionCodec {
None,
Delta,
BitPacked {
bits: u8,
},
DeltaBitPacked {
bits: u8,
},
Dictionary,
BitVector,
RunLength,
}Expand description
Compression codec identifier.
Variants§
None
No compression (raw values).
Delta
Delta encoding for integers.
BitPacked
Bit packing for small integers.
DeltaBitPacked
Delta + bit packing for sorted integers.
Dictionary
Dictionary encoding for strings.
BitVector
Bit vector for booleans.
RunLength
Run-length encoding for repeated values.
Implementations§
Trait Implementations§
Source§impl Clone for CompressionCodec
impl Clone for CompressionCodec
Source§fn clone(&self) -> CompressionCodec
fn clone(&self) -> CompressionCodec
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 CompressionCodec
impl Debug for CompressionCodec
Source§impl Hash for CompressionCodec
impl Hash for CompressionCodec
Source§impl PartialEq for CompressionCodec
impl PartialEq for CompressionCodec
impl Copy for CompressionCodec
impl Eq for CompressionCodec
impl StructuralPartialEq for CompressionCodec
Auto Trait Implementations§
impl Freeze for CompressionCodec
impl RefUnwindSafe for CompressionCodec
impl Send for CompressionCodec
impl Sync for CompressionCodec
impl Unpin for CompressionCodec
impl UnwindSafe for CompressionCodec
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.