Type Alias arrow_array::array::UInt16Array
source · pub type UInt16Array = PrimitiveArray<UInt16Type>;
Expand description
A PrimitiveArray
of u16
§Examples
Construction
// Create from Vec<Option<u16>>
let arr = UInt16Array::from(vec![Some(1), None, Some(2)]);
// Create from Vec<u16>
let arr = UInt16Array::from(vec![1, 2, 3]);
// Create iter/collect
let arr: UInt16Array = std::iter::repeat(42).take(10).collect();
See PrimitiveArray
for more information and examples
Aliased Type§
struct UInt16Array { /* private fields */ }