Trait StringArrayType

Source
pub trait StringArrayType<'a>: ArrayAccessor<Item = &'a str> + Sized {
    // Required methods
    fn iter(&self) -> ArrayIter<Self>;
    fn is_ascii(&self) -> bool;
}
๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead
Expand description

Abstracts iteration over different types of string arrays.

Required Methodsยง

Source

fn iter(&self) -> ArrayIter<Self>

๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead

Return an ArrayIter over the values of the array.

This iterator iterates returns Option<&str> for each item in the array.

Source

fn is_ascii(&self) -> bool

๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead

Check if the array is ASCII only.

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Typesยง

Sourceยง

impl<'a> StringArrayType<'a> for &'a StringViewArray

Sourceยง

fn iter(&self) -> ArrayIter<Self>

๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead
Sourceยง

fn is_ascii(&self) -> bool

๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead
Sourceยง

impl<'a, T: OffsetSizeTrait> StringArrayType<'a> for &'a GenericStringArray<T>

Sourceยง

fn iter(&self) -> ArrayIter<Self>

๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead
Sourceยง

fn is_ascii(&self) -> bool

๐Ÿ‘ŽDeprecated since 45.0.0: Use arrow::array::StringArrayType instead

Implementorsยง