Struct arrow::array::FixedSizeListArray [−][src]
pub struct FixedSizeListArray { /* fields omitted */ }
Expand description
A list array where each element is a fixed-size sequence of values with the same type whose maximum length is represented by a i32.
Implementations
impl FixedSizeListArray
[src]
impl FixedSizeListArray
[src]pub fn value_type(&self) -> DataType
[src]
pub fn value_type(&self) -> DataType
[src]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
[src]Returns the offset for value at index i
.
Note this doesn’t do any bound checking, for performance reason.
pub const fn value_length(&self) -> i32
[src]
pub const fn value_length(&self) -> 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 FixedSizeListArray
[src]
impl Array for FixedSizeListArray
[src]fn get_buffer_memory_size(&self) -> usize
[src]
fn get_buffer_memory_size(&self) -> usize
[src]Returns the total number of bytes of memory occupied by the buffers owned by this FixedSizeListArray.
fn get_array_memory_size(&self) -> usize
[src]
fn get_array_memory_size(&self) -> usize
[src]Returns the total number of bytes of memory occupied physically by this FixedSizeListArray.
fn data_ref(&self) -> &ArrayData
[src]
fn data_ref(&self) -> &ArrayData
[src]Returns a reference-counted pointer to the underlying data of this array.
fn slice(&self, offset: usize, length: usize) -> ArrayRef
[src]
fn slice(&self, offset: usize, length: usize) -> ArrayRef
[src]Returns a zero-copy slice of this array with the indicated offset and length. Read more
fn offset(&self) -> usize
[src]
fn offset(&self) -> usize
[src]Returns the offset into the underlying data used by this array(-slice).
Note that the underlying data can be shared by many arrays.
This defaults to 0
. Read more
fn is_null(&self, index: usize) -> bool
[src]
fn is_null(&self, index: usize) -> bool
[src]Returns whether the element at index
is null.
When using this function on a slice, the index is relative to the slice. Read more
fn is_valid(&self, index: usize) -> bool
[src]
fn is_valid(&self, index: usize) -> bool
[src]Returns whether the element at index
is not null.
When using this function on a slice, the index is relative to the slice. Read more
fn null_count(&self) -> usize
[src]
fn null_count(&self) -> usize
[src]Returns the total number of null values in this array. Read more
fn to_raw(&self) -> Result<(*const FFI_ArrowArray, *const FFI_ArrowSchema)>
[src]
fn to_raw(&self) -> Result<(*const FFI_ArrowArray, *const FFI_ArrowSchema)>
[src]returns two pointers that represent this array in the C Data Interface (FFI)
impl Debug for FixedSizeListArray
[src]
impl Debug for FixedSizeListArray
[src]impl From<ArrayData> for FixedSizeListArray
[src]
impl From<ArrayData> for FixedSizeListArray
[src]impl From<FixedSizeListArray> for FixedSizeBinaryArray
[src]
impl From<FixedSizeListArray> for FixedSizeBinaryArray
[src]Creates a FixedSizeBinaryArray
from FixedSizeList<u8>
array
fn from(v: FixedSizeListArray) -> Self
[src]
fn from(v: FixedSizeListArray) -> Self
[src]Performs the conversion.
impl JsonEqual for FixedSizeListArray
[src]
impl JsonEqual for FixedSizeListArray
[src]Auto Trait Implementations
impl !RefUnwindSafe for FixedSizeListArray
impl Send for FixedSizeListArray
impl Sync for FixedSizeListArray
impl Unpin for FixedSizeListArray
impl !UnwindSafe for FixedSizeListArray
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,