Skip to main content

InterleaveArrayExt

Trait InterleaveArrayExt 

Source
pub trait InterleaveArrayExt: TypedArrayRef<Interleave> {
    // Provided methods
    fn num_values(&self) -> usize { ... }
    fn value(&self, idx: usize) -> &ArrayRef { ... }
    fn array_indices(&self) -> &ArrayRef { ... }
    fn row_indices(&self) -> &ArrayRef { ... }
}
Expand description

Accessors for the values and selectors of an InterleaveArray.

Provided Methods§

Source

fn num_values(&self) -> usize

The number of value arrays (two fewer than the number of children).

Source

fn value(&self, idx: usize) -> &ArrayRef

The idx-th value array (holding the rows that array_indices routes to it).

Source

fn array_indices(&self) -> &ArrayRef

The selector routing each output row to a value array.

Source

fn row_indices(&self) -> &ArrayRef

The selector naming each output row’s position within its value array.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§