[−][src]Struct arrow::array::ListArray
A list array where each element is a variable-sized sequence of values with the same type.
Methods
impl ListArray
[src]
impl ListArray
pub fn values(&self) -> ArrayRef
[src]
pub fn values(&self) -> ArrayRef
Returns an reference to the values of this list.
pub fn value_type(&self) -> DataType
[src]
pub fn value_type(&self) -> DataType
Returns a clone of the value type of this list.
pub fn value_offset(&self, i: usize) -> i32
[src]
pub fn value_offset(&self, i: usize) -> i32
Returns the offset for value at index i
.
Note this doesn't do any bound checking, for performance reason.
pub fn value_length(&self, i: usize) -> i32
[src]
pub fn value_length(&self, i: usize) -> i32
Returns the length for value at index i
.
Note this doesn't do any bound checking, for performance reason.
Trait Implementations
impl Array for ListArray
[src]
impl Array for ListArray
fn as_any(&self) -> &dyn Any
[src]
fn as_any(&self) -> &dyn Any
fn data(&self) -> ArrayDataRef
[src]
fn data(&self) -> ArrayDataRef
fn data_ref(&self) -> &ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
fn data_type(&self) -> &DataType
[src]
fn data_type(&self) -> &DataType
Returns a reference to the data type of this array
fn len(&self) -> usize
[src]
fn len(&self) -> usize
Returns the length (i.e., number of elements) of this array
fn offset(&self) -> usize
[src]
fn offset(&self) -> usize
Returns the offset of this array
fn is_null(&self, i: usize) -> bool
[src]
fn is_null(&self, i: usize) -> bool
Returns whether the element at index i
is null
fn is_valid(&self, i: usize) -> bool
[src]
fn is_valid(&self, i: usize) -> bool
Returns whether the element at index i
is not null
fn null_count(&self) -> usize
[src]
fn null_count(&self) -> usize
Returns the total number of nulls in this array
impl From<Arc<ArrayData>> for ListArray
[src]
impl From<Arc<ArrayData>> for ListArray
Constructs a ListArray
from an array data reference.
fn from(data: ArrayDataRef) -> Self
[src]
fn from(data: ArrayDataRef) -> Self
impl From<ListArray> for BinaryArray
[src]
impl From<ListArray> for BinaryArray
Creates a BinaryArray
from List<u8>
array
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<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>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
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
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
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,