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

Method as_byte_view

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

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

(&self)

Source from the content-addressed store, hash-verified

902
903 /// Downcast this to a [`GenericByteViewArray`] panicking if not possible
904 fn as_byte_view<T: ByteViewType>(&self) -> &GenericByteViewArray<T> {
905 self.as_byte_view_opt().expect("byte view array")
906 }
907
908 /// Downcast this to a [`StructArray`] returning `None` if not possible
909 fn as_struct_opt(&self) -> Option<&StructArray>;

Callers 2

concat_byte_viewFunction · 0.80

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_byte_view_optMethod · 0.80

Tested by 1