[][src]Trait arrow::array::PrimitiveArrayOps

pub trait PrimitiveArrayOps<T: ArrowPrimitiveType> {
    fn values(&self) -> Buffer;
fn value(&self, i: usize) -> T::Native; }

Common operations for primitive types, including numeric types and boolean type.

Required methods

fn values(&self) -> Buffer

Returns a Buffer holding all the values of this array.

Note this doesn't take the offset of this array into account.

fn value(&self, i: usize) -> T::Native

Returns the primitive value at index i.

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

Loading content...

Implementors

impl<T: ArrowPrimitiveType> PrimitiveArrayOps<T> for PrimitiveArray<T>[src]

Loading content...