Module array

Source
Expand description

The concrete array definitions

Re-exports§

pub use crate::types::ArrowPrimitiveType;

Structs§

BooleanArray
An array of boolean values
DictionaryArray
An array of dictionary encoded values
FixedSizeBinaryArray
An array of fixed size binary arrays
FixedSizeListArray
An array of [fixed length lists], similar to JSON arrays (e.g. ["A", "B"]).
GenericByteArray
An array of variable length byte arrays
GenericByteViewArray
Variable-size Binary View Layout: An array of variable length bytes views.
GenericListArray
An array of variable length lists, similar to JSON arrays (e.g. ["A", "B", "C"]). This struct specifically represents the list layout. Refer to GenericListViewArray for the list-view layout.
GenericListViewArray
An array of variable length lists, specifically in the list-view layout.
MapArray
An array of key-value maps
NativeAdapter
An optional primitive value
NullArray
An array of null values
PrimitiveArray
An array of primitive values, of type ArrowPrimitiveType
RunArray
An array of run-end encoded values
StructArray
An array of structs
TypedDictionaryArray
A DictionaryArray typed on its child values array
TypedRunArray
A RunArray typed typed on its child values array
UnionArray
An array of values of varying types

Traits§

AnyDictionaryArray
A DictionaryArray with the key type erased
Array
An array in the arrow columnar format
ArrayAccessor
A generic trait for accessing the values of an Array
BinaryArrayType
A trait for Arrow String Arrays, currently three types are supported:
OffsetSizeTrait
A type that can be used within a variable-size array to encode offset information
StringArrayType
A trait for Arrow String Arrays, currently three types are supported:

Functions§

make_array
Constructs an array using the input data. Returns a reference-counted Array instance.
new_empty_array
Creates a new empty array
new_null_array
Creates a new array of data_type of length length filled entirely of NULL values

Type Aliases§

ArrayRef
A reference-counted reference to a generic Array
BinaryArray
A GenericBinaryArray of [u8] using i32 offsets
BinaryViewArray
A GenericByteViewArray of [u8]
Date32Array
A PrimitiveArray of days since UNIX epoch stored as i32
Date64Array
A PrimitiveArray of milliseconds since UNIX epoch stored as i64
Decimal128Array
A PrimitiveArray of 128-bit fixed point decimals
Decimal256Array
A PrimitiveArray of 256-bit fixed point decimals
DurationMicrosecondArray
A PrimitiveArray of elapsed durations in microseconds
DurationMillisecondArray
A PrimitiveArray of elapsed durations in milliseconds
DurationNanosecondArray
A PrimitiveArray of elapsed durations in nanoseconds
DurationSecondArray
A PrimitiveArray of elapsed durations in seconds
Float16Array
A PrimitiveArray of f16
Float32Array
A PrimitiveArray of f32
Float64Array
A PrimitiveArray of f64
GenericBinaryArray
A GenericBinaryArray for storing [u8]
GenericStringArray
A GenericByteArray for storing str
Int8Array
A PrimitiveArray of i8
Int8DictionaryArray
A DictionaryArray indexed by i8
Int16Array
A PrimitiveArray of i16
Int16DictionaryArray
A DictionaryArray indexed by i16
Int16RunArray
A RunArray with i16 run ends
Int32Array
A PrimitiveArray of i32
Int32DictionaryArray
A DictionaryArray indexed by i32
Int32RunArray
A RunArray with i32 run ends
Int64Array
A PrimitiveArray of i64
Int64DictionaryArray
A DictionaryArray indexed by i64
Int64RunArray
A RunArray with i64 run ends
IntervalDayTimeArray
A PrimitiveArray of “calendar” intervals in days and milliseconds
IntervalMonthDayNanoArray
A PrimitiveArray of “calendar” intervals in months, days, and nanoseconds.
IntervalYearMonthArray
A PrimitiveArray of “calendar” intervals in whole months
LargeBinaryArray
A GenericBinaryArray of [u8] using i64 offsets
LargeListArray
A GenericListArray of variable size lists, storing offsets as i64.
LargeListViewArray
A GenericListViewArray of variable size lists, storing offsets as i64.
LargeStringArray
A GenericStringArray of str using i64 offsets
ListArray
A GenericListArray of variable size lists, storing offsets as i32.
ListViewArray
A GenericListViewArray of variable size lists, storing offsets as i32.
StringArray
A GenericStringArray of str using i32 offsets
StringViewArray
A GenericByteViewArray that stores utf8 data
Time32MillisecondArray
A PrimitiveArray of milliseconds since midnight stored as i32
Time32SecondArray
A PrimitiveArray of seconds since midnight stored as i32
Time64MicrosecondArray
A PrimitiveArray of microseconds since midnight stored as i64
Time64NanosecondArray
A PrimitiveArray of nanoseconds since midnight stored as i64
TimestampMicrosecondArray
A PrimitiveArray of microseconds since UNIX epoch stored as i64
TimestampMillisecondArray
A PrimitiveArray of milliseconds since UNIX epoch stored as i64
TimestampNanosecondArray
A PrimitiveArray of nanoseconds since UNIX epoch stored as i64
TimestampSecondArray
A PrimitiveArray of seconds since UNIX epoch stored as i64
UInt8Array
A PrimitiveArray of u8
UInt8DictionaryArray
A DictionaryArray indexed by u8
UInt16Array
A PrimitiveArray of u16
UInt16DictionaryArray
A DictionaryArray indexed by u16
UInt32Array
A PrimitiveArray of u32
UInt32DictionaryArray
A DictionaryArray indexed by u32
UInt64Array
A PrimitiveArray of u64
UInt64DictionaryArray
A DictionaryArray indexed by u64