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

Method as_run

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

Downcast this to a [`RunArray`] panicking if not possible

(&self)

Source from the content-addressed store, hash-verified

976
977 /// Downcast this to a [`RunArray`] panicking if not possible
978 fn as_run<K: RunEndIndexType>(&self) -> &RunArray<K> {
979 self.as_run_opt().expect("run array")
980 }
981
982 /// Downcasts this to a [`AnyDictionaryArray`] returning `None` if not possible
983 fn as_any_dictionary_opt(&self) -> Option<&dyn AnyDictionaryArray>;

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_run_optMethod · 0.80