#[repr(u8)]pub enum FastFieldCodecType {
Bitpacked = 1,
Linear = 2,
BlockwiseLinear = 3,
}Expand description
Available codecs to use to encode the u64 (via MonotonicallyMappableToU64) converted data.
Variants§
Bitpacked = 1
Bitpack all values in the value range. The number of bits is defined by the amplitude
column.max_value() - column.min_value()
Linear = 2
Linear interpolation puts a line between the first and last value and then bitpacks the values by the offset from the line. The number of bits is defined by the max deviation from the line.
BlockwiseLinear = 3
Same as FastFieldCodecType::Linear, but encodes in blocks of 512 elements.
Trait Implementations§
Source§impl Clone for FastFieldCodecType
impl Clone for FastFieldCodecType
Source§fn clone(&self) -> FastFieldCodecType
fn clone(&self) -> FastFieldCodecType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FastFieldCodecType
impl Debug for FastFieldCodecType
Source§impl Ord for FastFieldCodecType
impl Ord for FastFieldCodecType
Source§fn cmp(&self, other: &FastFieldCodecType) -> Ordering
fn cmp(&self, other: &FastFieldCodecType) -> Ordering
1.21.0 (const: unstable) · 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 FastFieldCodecType
impl PartialEq for FastFieldCodecType
Source§fn eq(&self, other: &FastFieldCodecType) -> bool
fn eq(&self, other: &FastFieldCodecType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FastFieldCodecType
impl PartialOrd for FastFieldCodecType
impl Copy for FastFieldCodecType
impl Eq for FastFieldCodecType
impl StructuralPartialEq for FastFieldCodecType
Auto Trait Implementations§
impl Freeze for FastFieldCodecType
impl RefUnwindSafe for FastFieldCodecType
impl Send for FastFieldCodecType
impl Sync for FastFieldCodecType
impl Unpin for FastFieldCodecType
impl UnsafeUnpin for FastFieldCodecType
impl UnwindSafe for FastFieldCodecType
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<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