[][src]Struct arrow::array::BooleanArray

pub struct BooleanArray { /* fields omitted */ }

Array of bools

Implementations

impl BooleanArray[src]

pub fn len(&self) -> usize[src]

Returns the length of this array.

pub fn is_empty(&self) -> bool[src]

Returns whether this array is empty.

pub fn builder(capacity: usize) -> BooleanBuilder[src]

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

Returns a Buffer holding all the values of this array.

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

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

Returns the boolean value at index i.

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

impl<'a> BooleanArray[src]

pub fn iter(&'a self) -> BooleanIter<'a>

Notable traits for BooleanIter<'a>

impl<'a> Iterator for BooleanIter<'a> type Item = Option<bool>;
[src]

constructs a new iterator

Trait Implementations

impl Array for BooleanArray[src]

fn get_buffer_memory_size(&self) -> usize[src]

Returns the total number of bytes of memory occupied by the buffers owned by this BooleanArray.

fn get_array_memory_size(&self) -> usize[src]

Returns the total number of bytes of memory occupied physically by this BooleanArray.

impl Debug for BooleanArray[src]

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

impl From<Vec<Option<bool>, Global>> for BooleanArray[src]

impl From<Vec<bool, Global>> for BooleanArray[src]

impl<Ptr: Borrow<Option<bool>>> FromIterator<Ptr> for BooleanArray[src]

impl<'a> IntoIterator for &'a BooleanArray[src]

type Item = Option<bool>

The type of the elements being iterated over.

type IntoIter = BooleanIter<'a>

Which kind of iterator are we turning this into?

impl JsonEqual for BooleanArray[src]

Implement array equals for numeric type

impl PartialEq<BooleanArray> for BooleanArray[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> From<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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,