arrow::array::array

Type Alias UInt32Array

pub type UInt32Array = PrimitiveArray<UInt32Type>;
Expand description

A PrimitiveArray of u32

§Examples

Construction

// Create from Vec<Option<u32>>
let arr = UInt32Array::from(vec![Some(1), None, Some(2)]);
// Create from Vec<u32>
let arr = UInt32Array::from(vec![1, 2, 3]);
// Create iter/collect
let arr: UInt32Array = std::iter::repeat(42).take(10).collect();

See PrimitiveArray for more information and examples

Aliased Type§

struct UInt32Array { /* private fields */ }