Expand description
The concrete array definitions
Re-exports§
pub use crate::types::ArrowPrimitiveType;
Modules§
- binary_
array π - boolean_
array π - byte_
array π - byte_
view_ πarray - dictionary_
array π - list_
array π - list_
view_ πarray - map_
array π - null_
array πContains theNullArray
type. - primitive_
array π - run_
array π - string_
array π - struct_
array π - union_
array π
Structs§
- An array of boolean values
- An array of dictionary encoded values
- An array of fixed size binary arrays
- An array of [fixed length lists], similar to JSON arrays (e.g.
["A", "B"]
). - An array of variable length byte arrays
- Variable-size Binary View Layout: An array of variable length bytes views.
- An array of variable length lists, similar to JSON arrays (e.g.
["A", "B", "C"]
). - Different from
crate::GenericListArray
as it stores both an offset and length meaning that take / filter operations can be implemented without copying the underlying data. - An array of key-value maps
- An optional primitive value
- An array of null values
- An array of primitive values, of type
ArrowPrimitiveType
- An array of run-end encoded values
- An array of structs
- A
DictionaryArray
typed on its child values array - A
RunArray
typed typed on its child values array - An array of values of varying types
Traits§
- A
DictionaryArray
with the key type erased - An array in the arrow columnar format
- A generic trait for accessing the values of an
Array
- A type that can be used within a variable-size array to encode offset information
- A trait for Arrow String Arrays, currently three types are supported:
Functions§
- get_
offsets π βHelper function that gets offset from anArrayData
- Constructs an array using the input
data
. Returns a reference-countedArray
instance. - Creates a new empty array
- Creates a new array of
data_type
of lengthlength
filled entirely ofNULL
values - print_
long_ πarray Helper function for printing potentially long arrays.
Type Aliases§
- A reference-counted reference to a generic
Array
- A
GenericByteViewArray
of[u8]
- A
PrimitiveArray
of days since UNIX epoch stored asi32
- A
PrimitiveArray
of milliseconds since UNIX epoch stored asi64
- A
PrimitiveArray
of 128-bit fixed point decimals - A
PrimitiveArray
of 256-bit fixed point decimals - A
PrimitiveArray
of elapsed durations in microseconds - A
PrimitiveArray
of elapsed durations in milliseconds - A
PrimitiveArray
of elapsed durations in nanoseconds - A
PrimitiveArray
of elapsed durations in seconds - A
PrimitiveArray
off16
- A
PrimitiveArray
off32
- A
PrimitiveArray
off64
- A
GenericBinaryArray
for storing[u8]
- A
GenericByteArray
for storingstr
- A
PrimitiveArray
ofi8
- A
DictionaryArray
indexed byi8
- A
PrimitiveArray
ofi16
- A
DictionaryArray
indexed byi16
- A
RunArray
withi16
run ends - A
PrimitiveArray
ofi32
- A
DictionaryArray
indexed byi32
- A
RunArray
withi32
run ends - A
PrimitiveArray
ofi64
- A
DictionaryArray
indexed byi64
- A
RunArray
withi64
run ends - A
PrimitiveArray
of βcalendarβ intervals in days and milliseconds - A
PrimitiveArray
of βcalendarβ intervals in months, days, and nanoseconds. - A
PrimitiveArray
of βcalendarβ intervals in whole months - A
GenericListArray
of variable size lists, storing offsets asi64
. - A
GenericListViewArray
of variable size lists, storing offsets asi64
. - A
GenericListArray
of variable size lists, storing offsets asi32
. - A
GenericListViewArray
of variable size lists, storing offsets asi32
. - A
GenericByteViewArray
that stores utf8 data - A
PrimitiveArray
of milliseconds since midnight stored asi32
- A
PrimitiveArray
of seconds since midnight stored asi32
- A
PrimitiveArray
of microseconds since midnight stored asi64
- A
PrimitiveArray
of nanoseconds since midnight stored asi64
- A
PrimitiveArray
of microseconds since UNIX epoch stored asi64
- A
PrimitiveArray
of milliseconds since UNIX epoch stored asi64
- A
PrimitiveArray
of nanoseconds since UNIX epoch stored asi64
- A
PrimitiveArray
of seconds since UNIX epoch stored asi64
- A
PrimitiveArray
ofu8
- A
DictionaryArray
indexed byu8
- A
PrimitiveArray
ofu16
- A
DictionaryArray
indexed byu16
- A
PrimitiveArray
ofu32
- A
DictionaryArray
indexed byu32
- A
PrimitiveArray
ofu64
- A
DictionaryArray
indexed byu64