polars_arrow::array

Type Alias Utf8ViewArray

Source
pub type Utf8ViewArray = BinaryViewArrayGeneric<str>;

Aliased Type§

struct Utf8ViewArray { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl<T: StrIntoBytes> ArrayFromIter<Option<T>> for Utf8ViewArray

Source§

fn arr_from_iter<I: IntoIterator<Item = Option<T>>>(iter: I) -> Self

Source§

fn arr_from_iter_trusted<I>(iter: I) -> Self
where I: IntoIterator<Item = Option<T>>, I::IntoIter: TrustedLen,

Source§

fn try_arr_from_iter<E, I: IntoIterator<Item = Result<Option<T>, E>>>( iter: I, ) -> Result<Self, E>

Source§

fn try_arr_from_iter_trusted<E, I>(iter: I) -> Result<Self, E>
where I: IntoIterator<Item = Result<T, E>>, I::IntoIter: TrustedLen,

Source§

impl<T: StrIntoBytes> ArrayFromIter<T> for Utf8ViewArray

Source§

fn arr_from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self

Source§

fn arr_from_iter_trusted<I>(iter: I) -> Self
where I: IntoIterator<Item = T>, I::IntoIter: TrustedLen,

Source§

fn try_arr_from_iter<E, I: IntoIterator<Item = Result<T, E>>>( iter: I, ) -> Result<Self, E>

Source§

fn try_arr_from_iter_trusted<E, I>(iter: I) -> Result<Self, E>
where I: IntoIterator<Item = Result<T, E>>, I::IntoIter: TrustedLen,

Source§

impl Debug for Utf8ViewArray

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ParameterFreeDtypeStaticArray for Utf8ViewArray

Source§

impl StaticArray for Utf8ViewArray

Source§

type ValueT<'a> = &'a str

Source§

type ZeroableValueT<'a> = Option<&'a str>

Source§

type ValueIterT<'a> = ArrayValuesIter<'a, BinaryViewArrayGeneric<str>>

Source§

unsafe fn value_unchecked(&self, idx: usize) -> Self::ValueT<'_>

Safety Read more
Source§

fn iter( &self, ) -> ZipValidity<Self::ValueT<'_>, Self::ValueIterT<'_>, BitmapIter<'_>>

Source§

fn values_iter(&self) -> Self::ValueIterT<'_>

Source§

fn with_validity_typed(self, validity: Option<Bitmap>) -> Self

Source§

fn full_null(length: usize, dtype: ArrowDataType) -> Self

Source§

fn full(length: usize, value: Self::ValueT<'_>, _dtype: ArrowDataType) -> Self

Source§

fn get(&self, idx: usize) -> Option<Self::ValueT<'_>>

Source§

unsafe fn get_unchecked(&self, idx: usize) -> Option<Self::ValueT<'_>>

Safety Read more
Source§

fn last(&self) -> Option<Self::ValueT<'_>>

Source§

fn value(&self, idx: usize) -> Self::ValueT<'_>

Source§

fn as_slice(&self) -> Option<&[Self::ValueT<'_>]>

Source§

fn from_vec(v: Vec<Self::ValueT<'_>>, dtype: ArrowDataType) -> Self

Source§

fn from_zeroable_vec( v: Vec<Self::ZeroableValueT<'_>>, dtype: ArrowDataType, ) -> Self