Struct arrow::array::ListArray
[−]
[src]
pub struct ListArray<T: ArrowPrimitiveType> { /* fields omitted */ }
Array of List
Methods
impl<T> ListArray<T> where
T: ArrowPrimitiveType,
[src]
T: ArrowPrimitiveType,
pub fn len(&self) -> usize
[src]
pub fn null_count(&self) -> usize
[src]
pub fn validity_bitmap(&self) -> &Option<Bitmap>
[src]
pub fn get(&self, i: usize) -> &[T]
[src]
pub fn list(&self) -> &List<T>
[src]
Trait Implementations
impl<T> From<List<T>> for ListArray<T> where
T: ArrowPrimitiveType,
[src]
T: ArrowPrimitiveType,
Create a ListArray
impl From<Vec<&'static str>> for ListArray<u8>
[src]
Create ListArray
impl From<Vec<String>> for ListArray<u8>
[src]
Create ListArray
impl<T> Array for ListArray<T> where
T: ArrowPrimitiveType,
[src]
T: ArrowPrimitiveType,
fn len(&self) -> usize
[src]
Returns the length of the array (number of items in the array)
fn null_count(&self) -> usize
[src]
Returns the number of null values in the array
fn validity_bitmap(&self) -> &Option<Bitmap>
[src]
Optional validity bitmap (can be None if there are no null values)
fn as_any(&self) -> &Any
[src]
Return the array as Any so that it can be downcast to a specific implementation