Struct arrow::array::GenericBinaryArray [−][src]
pub struct GenericBinaryArray<OffsetSize: BinaryOffsetSizeTrait> { /* fields omitted */ }
Implementations
Returns the length for value at index i
.
Returns a clone of the value data buffer
Returns the offset values in the offsets buffer
Returns the element at index i
as bytes slice
Safety
Caller is responsible for ensuring that the index is within the bounds of the array
Creates a GenericBinaryArray from a vector of byte slices
Creates a GenericBinaryArray from a vector of Optional (null) byte slices
pub fn iter(&'a self) -> GenericBinaryIter<'a, T>ⓘNotable traits for GenericBinaryIter<'a, T>
impl<'a, T: BinaryOffsetSizeTrait> Iterator for GenericBinaryIter<'a, T> type Item = Option<&'a [u8]>;
pub fn iter(&'a self) -> GenericBinaryIter<'a, T>ⓘNotable traits for GenericBinaryIter<'a, T>
impl<'a, T: BinaryOffsetSizeTrait> Iterator for GenericBinaryIter<'a, T> type Item = Option<&'a [u8]>;
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: BinaryOffsetSizeTrait> From<Vec<&'_ [u8], Global>> for GenericBinaryArray<OffsetSize>
impl<OffsetSize: BinaryOffsetSizeTrait> From<Vec<&'_ [u8], Global>> for GenericBinaryArray<OffsetSize>
impl<OffsetSize: BinaryOffsetSizeTrait> From<Vec<Option<&'_ [u8]>, Global>> for GenericBinaryArray<OffsetSize>
impl<OffsetSize: BinaryOffsetSizeTrait> From<Vec<Option<&'_ [u8]>, Global>> for GenericBinaryArray<OffsetSize>
impl<Ptr, OffsetSize: BinaryOffsetSizeTrait> FromIterator<Option<Ptr>> for GenericBinaryArray<OffsetSize> where
Ptr: AsRef<[u8]>,
impl<Ptr, OffsetSize: BinaryOffsetSizeTrait> FromIterator<Option<Ptr>> for GenericBinaryArray<OffsetSize> where
Ptr: AsRef<[u8]>,
Creates a value from an iterator. Read more
impl<OffsetSize: BinaryOffsetSizeTrait> PartialEq<GenericBinaryArray<OffsetSize>> for GenericBinaryArray<OffsetSize>
impl<OffsetSize: BinaryOffsetSizeTrait> PartialEq<GenericBinaryArray<OffsetSize>> for GenericBinaryArray<OffsetSize>
Auto Trait Implementations
impl<OffsetSize> RefUnwindSafe for GenericBinaryArray<OffsetSize> where
OffsetSize: RefUnwindSafe,
impl<OffsetSize> Send for GenericBinaryArray<OffsetSize>
impl<OffsetSize> Sync for GenericBinaryArray<OffsetSize>
impl<OffsetSize> Unpin for GenericBinaryArray<OffsetSize>
impl<OffsetSize> UnwindSafe for GenericBinaryArray<OffsetSize> where
OffsetSize: RefUnwindSafe,