Expand description
Low-level array data abstractions.
Provides utilities for creating, manipulating, and converting Arrow arrays made of primitive types, strings, and nested types.
Re-exportsยง
use super::ArrayData;๐use super::ArrayDataBuilder;๐use super::MAX_INLINE_VIEW_LEN;๐use super::data::new_buffers;๐use crate::bit_mask::set_bits;๐use arrow_buffer::buffer::BooleanBuffer;๐use arrow_buffer::buffer::NullBuffer;๐use arrow_buffer::ArrowNativeType;๐use arrow_buffer::Buffer;๐use arrow_buffer::IntervalDayTime;๐use arrow_buffer::IntervalMonthDayNano;๐use arrow_buffer::MutableBuffer;๐use arrow_buffer::bit_util;๐use arrow_buffer::i256;๐use arrow_schema::ArrowError;๐use arrow_schema::DataType;๐use arrow_schema::IntervalUnit;๐use arrow_schema::UnionMode;๐use half::f16;๐use num_integer::Integer;๐use std::mem;๐
Modulesยง
- boolean ๐
- fixed_
binary ๐ - fixed_
size_ ๐list - list ๐
- list_
view ๐ - null ๐
- primitive ๐
- run ๐
- structure ๐
- union ๐
- utils ๐
- variable_
size ๐
Structsยง
- Mutable
Array Data - Efficiently create an ArrayData from one or more existing ArrayDatas by copying chunks.
- _Mutable
Array ๐Data - A mutable ArrayData that knows how to freeze itself into an ArrayData. This is just a data container.
Enumsยง
- Capacities
- Define capacities to pre-allocate for child data or data buffers.
Functionsยง
- build_
extend ๐ - build_
extend_ ๐dictionary - Builds an extend that adds
offsetto the source primitive Additionally validates thatmaxfits into the the underlying primitive returning None if not - build_
extend_ ๐null_ bits - build_
extend_ ๐nulls - build_
extend_ ๐view - Builds an extend that adds
buffer_offsetto any buffer indices encountered - preallocate_
offset_ ๐and_ binary_ buffer
Type Aliasesยง
- Extend ๐
- Extend
Null ๐Bits - Extend
Nulls ๐