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

Method to_binary_view

arrow-array/src/array/byte_view_array.rs:1139–1141  ·  view source on GitHub ↗

Convert the [`StringViewArray`] to [`BinaryViewArray`]

(self)

Source from the content-addressed store, hash-verified

1137impl StringViewArray {
1138 /// Convert the [`StringViewArray`] to [`BinaryViewArray`]
1139 pub fn to_binary_view(self) -> BinaryViewArray {
1140 unsafe { BinaryViewArray::new_unchecked(self.views, self.buffers, self.nulls) }
1141 }
1142
1143 /// Returns true if all data within this array is ASCII
1144 pub fn is_ascii(&self) -> bool {

Callers 2

create_random_arrayFunction · 0.80
cast_with_optionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected