[−][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 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]
impl ArrayEqual for NullArray
[src]
fn equals(&self, other: &dyn Array) -> bool
[src]
fn range_equals(
&self,
_other: &dyn Array,
_start_idx: usize,
_end_idx: usize,
_other_start_idx: usize
) -> bool
[src]
&self,
_other: &dyn Array,
_start_idx: usize,
_end_idx: usize,
_other_start_idx: usize
) -> bool
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 OrdArray for NullArray
[src]
impl PartialEq<NullArray> for Value
[src]
impl PartialEq<Value> for NullArray
[src]
Auto Trait Implementations
impl RefUnwindSafe for NullArray
impl Send for NullArray
impl Sync for NullArray
impl Unpin for NullArray
impl UnwindSafe for NullArray
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,
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.
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.
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>,