Struct arrow::array::GenericStringArray [−][src]
pub struct GenericStringArray<OffsetSize: StringOffsetSizeTrait> { /* fields omitted */ }
Expand description
Generic struct for [Large]StringArray
Implementations
Returns the length for the element at index i
.
Returns the offset values in the offsets buffer
Returns a clone of the value data buffer
Returns the element at index
Safety
caller is responsible for ensuring that index is within the array bounds
pub fn from_iter_values<Ptr, I: IntoIterator<Item = Ptr>>(iter: I) -> Self where
Ptr: AsRef<str>,
[src]
pub fn from_iter_values<Ptr, I: IntoIterator<Item = Ptr>>(iter: I) -> Self where
Ptr: AsRef<str>,
[src]Creates a GenericStringArray
based on an iterator of values without nulls
pub fn iter(&'a self) -> GenericStringIter<'a, T>ⓘNotable traits for GenericStringIter<'a, T>
impl<'a, T: StringOffsetSizeTrait> Iterator for GenericStringIter<'a, T> type Item = Option<&'a str>;
[src]
pub fn iter(&'a self) -> GenericStringIter<'a, T>ⓘNotable traits for GenericStringIter<'a, T>
impl<'a, T: StringOffsetSizeTrait> Iterator for GenericStringIter<'a, T> type Item = Option<&'a str>;
[src]constructs a new iterator
Trait Implementations
Returns the total number of bytes of memory occupied by the buffers owned by this [$name].
Returns the total number of bytes of memory occupied physically by this [$name].
Returns a reference-counted pointer to the underlying data of this array.
Returns a zero-copy slice of this array with the indicated offset and length. Read more
Returns the offset into the underlying data used by this array(-slice).
Note that the underlying data can be shared by many arrays.
This defaults to 0
. Read more
Returns whether the element at index
is null.
When using this function on a slice, the index is relative to the slice. Read more
Returns whether the element at index
is not null.
When using this function on a slice, the index is relative to the slice. Read more
Returns the total number of null values in this array. Read more
returns two pointers that represent this array in the C Data Interface (FFI)
Performs the conversion.
impl<OffsetSize: StringOffsetSizeTrait> From<Vec<&'_ str, Global>> for GenericStringArray<OffsetSize>
[src]
impl<OffsetSize: StringOffsetSizeTrait> From<Vec<&'_ str, Global>> for GenericStringArray<OffsetSize>
[src]impl<OffsetSize: StringOffsetSizeTrait> From<Vec<Option<&'_ str>, Global>> for GenericStringArray<OffsetSize>
[src]
impl<OffsetSize: StringOffsetSizeTrait> From<Vec<Option<&'_ str>, Global>> for GenericStringArray<OffsetSize>
[src]impl<'a, Ptr, OffsetSize: StringOffsetSizeTrait> FromIterator<Option<Ptr>> for GenericStringArray<OffsetSize> where
Ptr: AsRef<str>,
[src]
impl<'a, Ptr, OffsetSize: StringOffsetSizeTrait> FromIterator<Option<Ptr>> for GenericStringArray<OffsetSize> where
Ptr: AsRef<str>,
[src]Creates a value from an iterator. Read more
impl<OffsetSize: StringOffsetSizeTrait> PartialEq<GenericStringArray<OffsetSize>> for GenericStringArray<OffsetSize>
[src]
impl<OffsetSize: StringOffsetSizeTrait> PartialEq<GenericStringArray<OffsetSize>> for GenericStringArray<OffsetSize>
[src]Auto Trait Implementations
impl<OffsetSize> RefUnwindSafe for GenericStringArray<OffsetSize> where
OffsetSize: RefUnwindSafe,
impl<OffsetSize> Send for GenericStringArray<OffsetSize>
impl<OffsetSize> Sync for GenericStringArray<OffsetSize>
impl<OffsetSize> Unpin for GenericStringArray<OffsetSize>
impl<OffsetSize> UnwindSafe for GenericStringArray<OffsetSize> where
OffsetSize: RefUnwindSafe,