Struct arrow2::array::DictionaryArray [−][src]
pub struct DictionaryArray<K: DictionaryKey> { /* fields omitted */ }
Expand description
Implementations
pub fn iter(
&'a self
) -> ZipValidity<'a, Box<dyn Array>, DictionaryValuesIter<'a, K>>ⓘNotable traits for ZipValidity<'a, T, I>impl<'a, T, I: Iterator<Item = T>> Iterator for ZipValidity<'a, T, I> type Item = Option<T>;
pub fn iter(
&'a self
) -> ZipValidity<'a, Box<dyn Array>, DictionaryValuesIter<'a, K>>ⓘNotable traits for ZipValidity<'a, T, I>impl<'a, T, I: Iterator<Item = T>> Iterator for ZipValidity<'a, T, I> type Item = Option<T>;
Notable traits for ZipValidity<'a, T, I>
impl<'a, T, I: Iterator<Item = T>> Iterator for ZipValidity<'a, T, I> type Item = Option<T>;
Returns an iterator of Option<Box<dyn Array>>
Returns an iterator of Box<dyn Array>
Returns a new empty DictionaryArray
.
Returns an DictionaryArray
whose all elements are null
The canonical method to create a new DictionaryArray
.
Creates a new DictionaryArray
by slicing the existing DictionaryArray
.
Returns the keys of the DictionaryArray
. These keys can be used to fetch values
from values
.
Returns the values of the DictionaryArray
.
Trait Implementations
The DataType
of the Array
. In combination with Array::as_any
, this can be
used to downcast trait objects (dyn Array
) to concrete arrays. Read more
Performs the conversion.
impl<K: DictionaryKey, M: MutableArray> From<MutableDictionaryArray<K, M>> for DictionaryArray<K>
impl<K: DictionaryKey, M: MutableArray> From<MutableDictionaryArray<K, M>> for DictionaryArray<K>
Performs the conversion.
Auto Trait Implementations
impl<K> !RefUnwindSafe for DictionaryArray<K>
impl<K> Send for DictionaryArray<K>
impl<K> Sync for DictionaryArray<K>
impl<K> Unpin for DictionaryArray<K>
impl<K> !UnwindSafe for DictionaryArray<K>
Blanket Implementations
Mutably borrows from an owned value. Read more