[−][src]Struct arrow::array::NullArray
An Array where all elements are nulls
Implementations
impl NullArray
[src]
Trait Implementations
impl Array for NullArray
[src]
fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
[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_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]
impl Debug for NullArray
[src]
impl From<Arc<ArrayData>> for NullArray
[src]
fn from(data: ArrayDataRef) -> Self
[src]
impl JsonEqual for NullArray
[src]
fn equals_json(&self, json: &[&Value]) -> bool
[src]
fn equals_json_values(&self, json: &[Value]) -> bool
[src]
impl PartialEq<NullArray> for NullArray
[src]
fn eq(&self, other: &NullArray) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialEq<Value> for NullArray
[src]
Auto Trait Implementations
impl RefUnwindSafe for NullArray
[src]
impl Send for NullArray
[src]
impl Sync for NullArray
[src]
impl Unpin for NullArray
[src]
impl UnwindSafe for NullArray
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,