Skip to main content

Module fixed

Module fixed 

Source

Re-exportsยง

use crate::array::PrimitiveArray; ๐Ÿ”’
use crate::null_sentinel; ๐Ÿ”’
use arrow_array::ArrowPrimitiveType; ๐Ÿ”’
use arrow_array::BooleanArray; ๐Ÿ”’
use arrow_array::FixedSizeBinaryArray; ๐Ÿ”’
use arrow_buffer::BooleanBuffer; ๐Ÿ”’
use arrow_buffer::IntervalDayTime; ๐Ÿ”’
use arrow_buffer::IntervalMonthDayNano; ๐Ÿ”’
use arrow_buffer::MutableBuffer; ๐Ÿ”’
use arrow_buffer::NullBuffer; ๐Ÿ”’
use arrow_buffer::bit_util; ๐Ÿ”’
use arrow_buffer::i256; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use arrow_schema::DataType; ๐Ÿ”’
use arrow_schema::SortOptions; ๐Ÿ”’
use half::f16; ๐Ÿ”’

Macrosยง

encode_signed ๐Ÿ”’
encode_unsigned ๐Ÿ”’

Traitsยง

FixedLengthEncoding
Encodes a value of a particular fixed width type into bytes according to the rules described on super::RowConverter
FromSlice

Functionsยง

encode
Fixed width types are encoded as
encode_boolean
Boolean values are encoded as
encode_boolean_not_null
Encoding for non-nullable boolean arrays. Iterates directly over values, and skips NULLs-checking.
encode_fixed_size_binary
encode_not_null
Encoding for non-nullable primitive arrays. Iterates directly over the values, and skips NULLs-checking.
encoded_len
Returns the total encoded length (including null byte) for a value of type T::Native
split_off ๐Ÿ”’
Splits len bytes from src
try_decode_bool ๐Ÿ”’
Decodes a BooleanArray from rows
try_decode_fixed_size_binary ๐Ÿ”’
Decodes a FixedLengthBinary from rows
try_decode_nulls ๐Ÿ”’
Decodes a single byte from each row, interpreting 0x01 as a valid value and all other values as a null. Optionally returns None if there are no null values.
try_decode_primitive ๐Ÿ”’
Decodes a PrimitiveArray from rows