[][src]Struct arrow::array::BinaryArray

pub struct BinaryArray { /* fields omitted */ }

A type of ListArray whose elements are binaries.

Methods

impl BinaryArray[src]

pub fn value(&self, i: usize) -> &[u8][src]

Returns the element at index i as a byte slice.

pub fn value_offset(&self, i: usize) -> i32[src]

Returns the offset for the element at index i.

Note this doesn't do any bound checking, for performance reason.

pub fn value_length(&self, i: usize) -> i32[src]

Returns the length for the element at index i.

Note this doesn't do any bound checking, for performance reason.

pub fn value_offsets(&self) -> Buffer[src]

Returns a clone of the value offset buffer

pub fn value_data(&self) -> Buffer[src]

Returns a clone of the value data buffer

Trait Implementations

impl Array for BinaryArray[src]

impl ArrayEqual for BinaryArray[src]

impl Debug for BinaryArray[src]

impl From<Arc<ArrayData>> for BinaryArray[src]

impl From<ListArray> for BinaryArray[src]

Creates a BinaryArray from List<u8> array

impl<'_> From<Vec<&'_ [u8]>> for BinaryArray[src]

impl JsonEqual for BinaryArray[src]

impl ListArrayOps for BinaryArray[src]

impl PartialEq<BinaryArray> for Value[src]

impl PartialEq<Value> for BinaryArray[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.