[][src]Struct arrow::array::NullArray

pub struct NullArray { /* fields omitted */ }

An Array where all elements are nulls

Implementations

impl NullArray[src]

pub fn new(length: usize) -> Self[src]

Create a new null array of the specified length

Trait Implementations

impl Array for NullArray[src]

fn is_null(&self, _index: usize) -> bool[src]

Returns whether the element at index is null. All elements of a NullArray are always null.

fn is_valid(&self, _index: usize) -> bool[src]

Returns whether the element at index is valid. All elements of a NullArray are always invalid.

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

Returns the total number of null values in this array. The null count of a NullArray always equals its length.

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

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

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

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

impl Debug for NullArray[src]

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

impl JsonEqual for NullArray[src]

impl PartialEq<NullArray> for NullArray[src]

impl PartialEq<Value> for NullArray[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>,