arrow_select::take

Trait ToIndices

Source
trait ToIndices {
    type T: ArrowPrimitiveType;

    // Required method
    fn to_indices(&self) -> PrimitiveArray<Self::T>;
}
Expand description

To avoid generating take implementations for every index type, instead we only generate for UInt32 and UInt64 and coerce inputs to these types

Required Associated Types§

Source

type T: ArrowPrimitiveType

Required Methods§

Source

fn to_indices(&self) -> PrimitiveArray<Self::T>

Implementations on Foreign Types§

Source§

impl ToIndices for PrimitiveArray<Int8Type>

Source§

type T = UInt32Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt32Type>

Source§

impl ToIndices for PrimitiveArray<Int16Type>

Source§

type T = UInt32Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt32Type>

Source§

impl ToIndices for PrimitiveArray<Int32Type>

Source§

type T = UInt32Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt32Type>

Source§

impl ToIndices for PrimitiveArray<Int64Type>

Source§

type T = UInt64Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt64Type>

Source§

impl ToIndices for PrimitiveArray<UInt8Type>

Source§

type T = UInt32Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt32Type>

Source§

impl ToIndices for PrimitiveArray<UInt16Type>

Source§

type T = UInt32Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt32Type>

Source§

impl ToIndices for PrimitiveArray<UInt32Type>

Source§

type T = UInt32Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt32Type>

Source§

impl ToIndices for PrimitiveArray<UInt64Type>

Source§

type T = UInt64Type

Source§

fn to_indices(&self) -> PrimitiveArray<UInt64Type>

Implementors§