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

Method as_binary

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

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

(&self)

Source from the content-addressed store, hash-verified

874
875 /// Downcast this to a [`GenericBinaryArray`] panicking if not possible
876 fn as_binary<O: OffsetSizeTrait>(&self) -> &GenericBinaryArray<O> {
877 self.as_bytes_opt().expect("binary array")
878 }
879
880 /// Downcast this to a [`StringViewArray`] returning `None` if not possible
881 fn as_string_view_opt(&self) -> Option<&StringViewArray> {

Callers 1

like_opFunction · 0.80

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_bytes_optMethod · 0.80

Tested by

no test coverage detected