Type Alias arrow_array::array::StringViewArray
source · pub type StringViewArray = GenericByteViewArray<StringViewType>;
Expand description
A GenericByteViewArray
that stores utf8 data
See GenericByteViewArray
for format and layout details.
§Example
use arrow_array::StringViewArray;
let array = StringViewArray::from_iter_values(vec!["hello", "world", "lulu", "large payload over 12 bytes"]);
assert_eq!(array.value(0), "hello");
assert_eq!(array.value(3), "large payload over 12 bytes");
Aliased Type§
struct StringViewArray { /* private fields */ }
Implementations§
source§impl StringViewArray
impl StringViewArray
sourcepub fn to_binary_view(self) -> BinaryViewArray
pub fn to_binary_view(self) -> BinaryViewArray
Convert the StringViewArray
to BinaryViewArray