Type Definition arrow::array::Int64Array

source ·
pub type Int64Array = PrimitiveArray<Int64Type>;
Expand description

A PrimitiveArray of i64

Examples

Construction

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

See PrimitiveArray for more information and examples