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

Method as_string_view_opt

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

Downcast this to a [`StringViewArray`] returning `None` if not possible

(&self)

Source from the content-addressed store, hash-verified

879
880 /// Downcast this to a [`StringViewArray`] returning `None` if not possible
881 fn as_string_view_opt(&self) -> Option<&StringViewArray> {
882 self.as_byte_view_opt()
883 }
884
885 /// Downcast this to a [`StringViewArray`] panicking if not possible
886 fn as_string_view(&self) -> &StringViewArray {

Callers 2

col_as_string_viewFunction · 0.80
normalize_batchFunction · 0.80

Implementers 1

cast.rsarrow-array/src/cast.rs

Calls 1

as_byte_view_optMethod · 0.80

Tested by

no test coverage detected