pub struct ProtobufUtils {}
Implementations§
Source§impl ProtobufUtils
impl ProtobufUtils
pub fn constant(value: Vec<u8>, num_values: u64) -> ArrayEncoding
pub fn basic_all_null_encoding() -> ArrayEncoding
pub fn basic_some_null_encoding( validity: ArrayEncoding, values: ArrayEncoding, ) -> ArrayEncoding
pub fn basic_no_null_encoding(values: ArrayEncoding) -> ArrayEncoding
pub fn flat_encoding( bits_per_value: u64, buffer_index: u32, compression: Option<CompressionConfig>, ) -> ArrayEncoding
pub fn bitpacked_encoding( compressed_bits_per_value: u64, uncompressed_bits_per_value: u64, buffer_index: u32, signed: bool, ) -> ArrayEncoding
pub fn bitpacked_for_non_neg_encoding( compressed_bits_per_value: u64, uncompressed_bits_per_value: u64, buffer_index: u32, ) -> ArrayEncoding
pub fn bitpack2(uncompressed_bits_per_value: u64) -> ArrayEncoding
pub fn binary_miniblock() -> ArrayEncoding
pub fn binary_block() -> ArrayEncoding
pub fn fsst_mini_block( data: ArrayEncoding, symbol_table: Vec<u8>, ) -> ArrayEncoding
pub fn packed_struct( child_encodings: Vec<ArrayEncoding>, packed_buffer_index: u32, ) -> ArrayEncoding
pub fn packed_struct_fixed_width_mini_block( data: ArrayEncoding, bits_per_values: Vec<u32>, ) -> ArrayEncoding
pub fn binary( indices_encoding: ArrayEncoding, bytes_encoding: ArrayEncoding, null_adjustment: u64, ) -> ArrayEncoding
pub fn dict_encoding( indices: ArrayEncoding, items: ArrayEncoding, num_items: u32, ) -> ArrayEncoding
pub fn fixed_size_binary(data: ArrayEncoding, byte_width: u32) -> ArrayEncoding
pub fn fixed_size_list(data: ArrayEncoding, dimension: u64) -> ArrayEncoding
pub fn fsst(data: ArrayEncoding, symbol_table: Vec<u8>) -> ArrayEncoding
pub fn repdef_layer_to_def_interp(layer: i32) -> DefinitionInterpretation
pub fn miniblock_layout( rep_encoding: ArrayEncoding, def_encoding: ArrayEncoding, value_encoding: ArrayEncoding, repetition_index_depth: u32, dictionary_encoding: Option<ArrayEncoding>, def_meaning: &[DefinitionInterpretation], num_items: u64, ) -> PageLayout
pub fn full_zip_layout( bits_rep: u8, bits_def: u8, value_encoding: ArrayEncoding, def_meaning: &[DefinitionInterpretation], ) -> PageLayout
pub fn all_null_layout(def_meaning: &[DefinitionInterpretation]) -> PageLayout
pub fn simple_all_null_layout() -> PageLayout
Auto Trait Implementations§
impl Freeze for ProtobufUtils
impl RefUnwindSafe for ProtobufUtils
impl Send for ProtobufUtils
impl Sync for ProtobufUtils
impl Unpin for ProtobufUtils
impl UnwindSafe for ProtobufUtils
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