Type Alias arrow_array::array::Int64RunArray
source · pub type Int64RunArray = RunArray<Int64Type>;
Expand description
A RunArray
with i64
run ends
Example: Using collect
let array: Int64RunArray = vec!["a", "a", "b", "c", "c"].into_iter().collect();
let values: Arc<dyn Array> = Arc::new(StringArray::from(vec!["a", "b", "c"]));
assert_eq!(array.run_ends().values(), &[2, 3, 5]);
assert_eq!(array.values(), &values);
Aliased Type§
struct Int64RunArray { /* private fields */ }