[−][src]Struct arrow::array::ListArray
A list array where each element is a variable-sized sequence of values with the same type.
Implementations
impl ListArray
[src]
pub fn values(&self) -> ArrayRef
[src]
Returns a reference to the values of this list.
pub fn value_type(&self) -> DataType
[src]
Returns a clone of the value type of this list.
pub fn value(&self, i: usize) -> ArrayRef
[src]
Returns ith value of this list array.
pub fn value_offset(&self, i: usize) -> i32
[src]
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]
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]
fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
[src]
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 is_null(&self, index: usize) -> bool
[src]
fn is_valid(&self, index: usize) -> bool
[src]
fn null_count(&self) -> usize
[src]
impl ArrayEqual for ListArray
[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 ListArray
[src]
impl From<Arc<ArrayData>> for ListArray
[src]
Constructs a ListArray
from an array data reference.
fn from(data: ArrayDataRef) -> Self
[src]
impl From<ListArray> for BinaryArray
[src]
Creates a BinaryArray
from List<u8>
array
impl From<ListArray> for StringArray
[src]
Creates a StringArray
from List<u8>
array
impl JsonEqual for ListArray
[src]
fn equals_json(&self, json: &[&Value]) -> bool
[src]
fn equals_json_values(&self, json: &[Value]) -> bool
[src]
impl ListArrayOps for ListArray
[src]
fn value_offset_at(&self, i: usize) -> i32
[src]
impl PartialEq<ListArray> for Value
[src]
impl PartialEq<Value> for ListArray
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ListArray
impl Send for ListArray
impl Sync for ListArray
impl Unpin for ListArray
impl !UnwindSafe for ListArray
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> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
fn into_request(self) -> Request<T>
[src]
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>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,