[−][src]Struct arrow::array::StructArray
A nested array type where each child (called field) is represented by a separate array.
Methods
impl StructArray
[src]
impl StructArray
Trait Implementations
impl Array for StructArray
[src]
impl Array for StructArray
fn as_any(&self) -> &dyn Any
[src]
fn as_any(&self) -> &dyn Any
Returns the array as Any
so that it can be downcast to a specific implementation
fn data(&self) -> ArrayDataRef
[src]
fn data(&self) -> ArrayDataRef
Returns a reference-counted pointer to the data of this array
fn data_ref(&self) -> &ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
Returns a borrowed & reference-counted pointer to the data of this array
fn len(&self) -> i64
[src]
fn len(&self) -> i64
Returns the length (i.e., number of elements) of this array
fn data_type(&self) -> &DataType
[src]
fn data_type(&self) -> &DataType
Returns a reference to the data type of this array
fn offset(&self) -> i64
[src]
fn offset(&self) -> i64
Returns the offset of this array
fn is_null(&self, i: i64) -> bool
[src]
fn is_null(&self, i: i64) -> bool
Returns whether the element at index i
is null
fn is_valid(&self, i: i64) -> bool
[src]
fn is_valid(&self, i: i64) -> bool
Returns whether the element at index i
is not null
fn null_count(&self) -> i64
[src]
fn null_count(&self) -> i64
Returns the total number of nulls in this array
impl From<Arc<ArrayData>> for StructArray
[src]
impl From<Arc<ArrayData>> for StructArray
fn from(data: ArrayDataRef) -> Self
[src]
fn from(data: ArrayDataRef) -> Self
Performs the conversion.
impl From<Vec<(Field, Arc<dyn Array + 'static>)>> for StructArray
[src]
impl From<Vec<(Field, Arc<dyn Array + 'static>)>> for StructArray
Auto Trait Implementations
impl Send for StructArray
impl Send for StructArray
impl Sync for StructArray
impl Sync for StructArray
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more