arrow_array::array

Type Alias UInt64Array

Source
pub type UInt64Array = PrimitiveArray<UInt64Type>;
Expand description

A PrimitiveArray of u64

§Examples

Construction

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

See PrimitiveArray for more information and examples

Aliased Type§

struct UInt64Array {
    data_type: DataType,
    values: ScalarBuffer<u64>,
    nulls: Option<NullBuffer>,
}

Fields§

§data_type: DataType§values: ScalarBuffer<u64>

Values data

§nulls: Option<NullBuffer>