Module arrow2::array

source ·
Expand description

Contains the Array and MutableArray trait objects declaring arrays, as well as concrete arrays (such as Utf8Array and MutableUtf8Array).

Fixed-length containers with optional values that are layed in memory according to the Arrow specification. Each array type has its own struct. The following are the main array types:

Most arrays contain a MutableArray counterpart that is neither clonable nor slicable, but can be operated in-place.

Modules

  • Contains the trait Growable and corresponding concreate implementations, one per concrete array, that offer the ability to create a new Array out of slices of existing Arrays.
  • Contains functions and function factories to order values within arrays.

Structs

Traits

  • A trait representing an immutable Arrow array. Arrow arrays are trait objects that are infallibly downcasted to concrete types according to the Array::data_type.
  • Trait providing bi-directional conversion between arrow2 Array and arrow-rs ArrayData
  • Trait denoting NativeTypes that can be used as keys of a dictionary.
  • Trait that BinaryArray and Utf8Array implement for the purposes of DRY.
  • A trait describing a mutable array; i.e. an array whose values can be changed. Mutable arrays cannot be cloned but can be mutated in place, thereby making them useful to perform numeric operations without allocations. As in Array, concrete arrays (such as MutablePrimitiveArray) implement how they are mutated.
  • A trait describing the ability of a struct to receive new items.
  • A trait describing the ability of a struct to create itself from a iterator. This is similar to Extend, but accepted the creation to error.
  • A trait describing the ability of a struct to extend from a reference of itself. Specialization of TryExtend.
  • A trait describing the ability of a struct to receive new items.

Functions

Type Aliases