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
UInt32DictionaryArray in datafusion::common::arrow::array - Rust
[go: Go Back, main page]

Type Alias UInt32DictionaryArray

Source
pub type UInt32DictionaryArray = DictionaryArray<UInt32Type>;
Expand description

A DictionaryArray indexed by u32

§Example: Using collect


let array: UInt32DictionaryArray = 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(), &UInt32Array::from(vec![0, 0, 1, 2]));
assert_eq!(array.values(), &values);

See DictionaryArray for more information and examples

Aliased Type§

pub struct UInt32DictionaryArray { /* private fields */ }