Skip to main content

Module dictionary

Module dictionary 

Source

Functionsยง

binary_view_to_dictionary ๐Ÿ”’
cast_to_dictionary ๐Ÿ”’
Attempts to encode an array into an ArrayDictionary with index type K and value (dictionary) type value_type
dictionary_cast ๐Ÿ”’
Attempts to cast an ArrayDictionary with index type K into to_type for supported types.
dictionary_to_dictionary_cast ๐Ÿ”’
pack_array_to_dictionary_via_primitive ๐Ÿ”’
Pack a data type into a dictionary array passing the values through a primitive array
pack_byte_to_dictionary ๐Ÿ”’
pack_byte_to_fixed_size_dictionary ๐Ÿ”’
pack_decimal_to_dictionary ๐Ÿ”’
pack_numeric_to_dictionary ๐Ÿ”’
pack_struct_to_dictionary ๐Ÿ”’
Wrap a struct-valued array as a DictionaryArray<K, Struct> with identity keys [0, 1, ..., len-1]. Unlike the primitive / byte packers above, no deduplication is performed, since struct values have no general hash/equality builder in arrow-rs.
string_view_to_dictionary ๐Ÿ”’
unpack_dictionary ๐Ÿ”’
view_from_dict_values ๐Ÿ”’