Struct arrow::array::NullArray [−][src]
pub struct NullArray { /* fields omitted */ }
An Array where all elements are nulls
Implementations
Trait Implementations
impl Array for NullArray
[src]
impl Array for NullArray
[src]fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> &ArrayData
[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.
fn data_ref(&self) -> &ArrayData
[src]
fn data_type(&self) -> &DataType
[src]
fn slice(&self, offset: usize, length: usize) -> ArrayRef
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn offset(&self) -> usize
[src]
fn to_raw(&self) -> Result<(*const FFI_ArrowArray, *const FFI_ArrowSchema)>
[src]
Auto Trait Implementations
impl RefUnwindSafe for NullArray
impl RefUnwindSafe for NullArray
impl UnwindSafe for NullArray
impl UnwindSafe for NullArray