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

Method as_binary_view

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

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

(&self)

Source from the content-addressed store, hash-verified

894
895 /// Downcast this to a [`BinaryViewArray`] panicking if not possible
896 fn as_binary_view(&self) -> &BinaryViewArray {
897 self.as_byte_view_opt().expect("binary view array")
898 }
899
900 /// Downcast this to a [`GenericByteViewArray`] returning `None` if not possible
901 fn as_byte_view_opt<T: ByteViewType>(&self) -> Option<&GenericByteViewArray<T>>;

Callers 8

binary_array_valueFunction · 0.80
typed_value_to_variantFunction · 0.80
like_opFunction · 0.80
lengthFunction · 0.80
bit_lengthFunction · 0.80

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_byte_view_optMethod · 0.80