MCPcopy Create free account
hub / github.com/apache/arrow-rs / as_any_dictionary

Method as_any_dictionary

arrow-array/src/cast.rs:986–988  ·  view source on GitHub ↗

Downcasts this to a [`AnyDictionaryArray`] panicking if not possible

(&self)

Source from the content-addressed store, hash-verified

984
985 /// Downcasts this to a [`AnyDictionaryArray`] panicking if not possible
986 fn as_any_dictionary(&self) -> &dyn AnyDictionaryArray {
987 self.as_any_dictionary_opt().expect("any dictionary array")
988 }
989
990 /// Downcasts this to a [`AnyRunEndArray`] returning `None` if not possible
991 fn as_any_ree_opt(&self) -> Option<&dyn AnyRunEndArray>;

Callers 4

newMethod · 0.80
encoderMethod · 0.80
coerce_arrayFunction · 0.80
get_arrow_chunksMethod · 0.80

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_any_dictionary_optMethod · 0.80

Tested by

no test coverage detected