Skip to main content Module variable Copy item path Source use crate::null_sentinel ; π use arrow_array::types::ByteArrayType; π use arrow_buffer::bit_util::ceil; π use arrow_buffer::ArrowNativeType; π use arrow_buffer::BooleanBuffer; π use arrow_buffer::MutableBuffer; π use arrow_buffer::NullBuffer; π use arrow_buffer::OffsetBuffer; π use arrow_buffer::ScalarBuffer; π use arrow_data::MAX_INLINE_VIEW_LEN; π use arrow_schema::ArrowError; π use arrow_schema::SortOptions; π use builder::make_view; π use arrow_array::*; π BLOCK_CONTINUATION The continuation token BLOCK_SIZE The block size of the variable length encoding EMPTY_SENTINEL Indicates an empty string MINI_BLOCK_COUNT The first block is split into MINI_BLOCK_COUNT mini-blocks MINI_BLOCK_SIZE The mini block size NON_EMPTY_SENTINEL Indicates a non-empty string NULL_VALUE_SENTINEL Indicates a Null value (for DataType::Null) decode_binary Decodes a binary array from rows with the provided options decode_binary_view Decodes a binary view array from rows with the provided options decode_binary_view_inner π decode_blocks Decodes a single block of data
The f function accepts a slice of the decoded data, it may be called multiple times decode_null_value decode_nulls_sentinel π Decodes a single byte from each row, where a valid value is determined via
a configurable sentinel. Optionally returns None if there are no null values. decode_string β Decodes a string array from rows with the provided options decode_string_view β Decodes a string view array from rows with the provided options decoded_len π Returns the number of bytes of encoded data encode Variable length values are encoded as encode_blocks π Writes val in SIZE blocks with the appropriate continuation tokens encode_empty encode_generic_byte_array π Calls encode with optimized iterator for generic byte arrays encode_null encode_null_value Ensure NullArrays donβt get encoded as empty lists which can lose their length encode_one non_null_padded_length π Returns the padded length of the encoded length of the given length padded_length Returns the padded length of the encoded length of the given length