pub struct ProtobufUtils21 {}
Implementations§
Source§impl ProtobufUtils21
impl ProtobufUtils21
pub fn flat( bits_per_value: u64, values_compression: Option<BufferCompression>, ) -> 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 packed_struct( values: CompressiveEncoding, bits_per_values: Vec<u64>, ) -> 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, ) -> 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 all_null_layout(def_meaning: &[DefinitionInterpretation]) -> PageLayout
pub fn simple_all_null_layout() -> PageLayout
Auto Trait Implementations§
impl Freeze for ProtobufUtils21
impl RefUnwindSafe for ProtobufUtils21
impl Send for ProtobufUtils21
impl Sync for ProtobufUtils21
impl Unpin for ProtobufUtils21
impl UnwindSafe for ProtobufUtils21
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> 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