pub struct EncodingUtils {}Expand description
Constructors for compression trees and structural execution descriptions.
Implementations§
Source§impl EncodingUtils
impl EncodingUtils
pub fn flat( bits_per_value: u64, values_compression: Option<BufferCompression>, ) -> CompressiveEncoding
pub fn constant(value: Option<Bytes>) -> CompressiveEncoding
pub fn fsl( items_per_value: u64, has_validity: bool, values: CompressiveEncoding, ) -> CompressiveEncoding
pub fn variable( offsets_desc: CompressiveEncoding, values_compression: Option<BufferCompression>, ) -> CompressiveEncoding
pub fn inline_bitpacking( uncompressed_bits_per_value: u64, values_compression: Option<BufferCompression>, ) -> CompressiveEncoding
pub fn out_of_line_bitpacking( uncompressed_bits_per_value: u64, values: CompressiveEncoding, ) -> CompressiveEncoding
pub fn buffer_compression( compression: CompressionConfig, ) -> Result<BufferCompression>
pub fn wrapped( compression: CompressionConfig, values: CompressiveEncoding, ) -> Result<CompressiveEncoding>
pub fn rle( values: CompressiveEncoding, run_lengths: CompressiveEncoding, ) -> CompressiveEncoding
pub fn byte_stream_split(values: CompressiveEncoding) -> CompressiveEncoding
pub fn fsst( data: CompressiveEncoding, symbol_table: Vec<u8>, ) -> CompressiveEncoding
pub fn repdef_layer_to_def_interp(layer: i32) -> DefinitionInterpretation
pub fn miniblock_layout( rep_encoding: Option<CompressiveEncoding>, def_encoding: Option<CompressiveEncoding>, value_encoding: CompressiveEncoding, repetition_index_depth: u32, num_buffers: u64, dictionary_encoding: Option<(CompressiveEncoding, u64)>, def_meaning: &[DefinitionInterpretation], num_items: u64, has_large_chunk: bool, ) -> PageLayout
pub fn fixed_full_zip_layout( bits_rep: u8, bits_def: u8, bits_per_value: u32, value_encoding: CompressiveEncoding, def_meaning: &[DefinitionInterpretation], num_items: u32, num_visible_items: u32, ) -> PageLayout
pub fn variable_full_zip_layout( bits_rep: u8, bits_def: u8, bits_per_offset: u32, value_encoding: CompressiveEncoding, def_meaning: &[DefinitionInterpretation], num_items: u32, num_visible_items: u32, ) -> PageLayout
pub fn blob_layout( inner_layout: PageLayout, def_meaning: &[DefinitionInterpretation], ) -> PageLayout
pub fn range( uncompressed_bits_per_value: u64, start: u64, step: u64, ) -> CompressiveEncoding
pub fn delta( uncompressed_bits_per_value: u64, base: u64, deltas: CompressiveEncoding, ) -> CompressiveEncoding
pub fn dictionary( indices: CompressiveEncoding, items: CompressiveEncoding, num_dictionary_items: u32, ) -> CompressiveEncoding
pub fn constant_layout( def_meaning: &[DefinitionInterpretation], inline_value: Option<Vec<u8>>, ) -> PageLayout
pub fn compressed_all_null_constant_layout( def_meaning: &[DefinitionInterpretation], rep_compression: Option<CompressiveEncoding>, def_compression: Option<CompressiveEncoding>, num_rep_values: u64, num_def_values: u64, ) -> PageLayout
pub fn packed_struct( values: CompressiveEncoding, bits_per_values: Vec<u64>, ) -> CompressiveEncoding
pub fn packed_struct_variable(fields: Vec<FieldEncoding>) -> CompressiveEncoding
pub fn packed_struct_field_fixed( value_encoding: CompressiveEncoding, bits_per_value: u64, ) -> FieldEncoding
pub fn packed_struct_field_variable( value_encoding: CompressiveEncoding, bits_per_length: u64, ) -> FieldEncoding
Auto Trait Implementations§
impl Freeze for EncodingUtils
impl RefUnwindSafe for EncodingUtils
impl Send for EncodingUtils
impl Sync for EncodingUtils
impl Unpin for EncodingUtils
impl UnsafeUnpin for EncodingUtils
impl UnwindSafe for EncodingUtils
Blanket Implementations§
impl<T> Allocation for T
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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