Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
UInt64DictionaryArray in datafusion::common::arrow::array - Rust
[go: Go Back, main page]

Type Alias UInt64DictionaryArray

Source
pub type UInt64DictionaryArray = DictionaryArray<UInt64Type>;
Expand description

A DictionaryArray indexed by u64

§Example: Using collect


let array: UInt64DictionaryArray = vec!["a", "a", "b", "c"].into_iter().collect();
let values: Arc<dyn Array> = Arc::new(StringArray::from(vec!["a", "b", "c"]));
assert_eq!(array.keys(), &UInt64Array::from(vec![0, 0, 1, 2]));
assert_eq!(array.values(), &values);

See DictionaryArray for more information and examples

Aliased Type§

pub struct UInt64DictionaryArray { /* private fields */ }