Trait narrow::array::Array

source ·
pub trait Array {
    type Item;
}
Expand description

Types that store their data in Arrow arrays.

Required Associated Types§

source

type Item

The items stored in this array.

Implementors§

source§

impl<T, const NULLABLE: bool, Buffer: BufferType> Array for FixedSizePrimitiveArray<T, NULLABLE, Buffer>
where <Buffer as BufferType>::Buffer<T>: Validity<NULLABLE>, T: Nullability<NULLABLE> + FixedSize,

§

type Item = <T as Nullability<NULLABLE>>::Item

source§

impl<T, const NULLABLE: bool, Buffer: BufferType> Array for NullArray<T, NULLABLE, Buffer>
where Nulls<T>: Validity<NULLABLE>, T: Nullability<NULLABLE> + Unit,

§

type Item = <T as Nullability<NULLABLE>>::Item

source§

impl<T, const NULLABLE: bool, Buffer: BufferType> Array for StructArray<T, NULLABLE, Buffer>
where <T as StructArrayType>::Array<Buffer>: Validity<NULLABLE>, T: Nullability<NULLABLE> + StructArrayType,

§

type Item = <T as Nullability<NULLABLE>>::Item

source§

impl<T, const NULLABLE: bool, Buffer: BufferType, OffsetItem: OffsetElement, UnionLayout: UnionType> Array for LogicalArray<T, NULLABLE, Buffer, OffsetItem, UnionLayout>
where <T as LogicalArrayType>::Array<Buffer, OffsetItem, UnionLayout>: Validity<NULLABLE>, T: Nullability<NULLABLE> + LogicalArrayType,

§

type Item = <T as Nullability<NULLABLE>>::Item

source§

impl<T: Array, const NULLABLE: bool, OffsetItem: OffsetElement, Buffer: BufferType> Array for VariableSizeListArray<T, NULLABLE, OffsetItem, Buffer>
where <Buffer as BufferType>::Buffer<OffsetItem>: Validity<NULLABLE>, Vec<T>: Nullability<NULLABLE>,

§

type Item = <Vec<T> as Nullability<NULLABLE>>::Item

source§

impl<const N: usize, T, const NULLABLE: bool, Buffer: BufferType> Array for FixedSizeListArray<N, T, NULLABLE, Buffer>
where T: Validity<NULLABLE> + Array, [<T as Array>::Item; N]: Nullability<NULLABLE>,

§

type Item = <[<T as Array>::Item; N] as Nullability<NULLABLE>>::Item

source§

impl<const NULLABLE: bool, Buffer: BufferType> Array for BooleanArray<NULLABLE, Buffer>
where Bitmap<Buffer>: Validity<NULLABLE>, bool: Nullability<NULLABLE>,

§

type Item = <bool as Nullability<NULLABLE>>::Item

source§

impl<const NULLABLE: bool, OffsetItem: OffsetElement, Buffer: BufferType> Array for StringArray<NULLABLE, OffsetItem, Buffer>
where <Buffer as BufferType>::Buffer<OffsetItem>: Validity<NULLABLE>, String: Nullability<NULLABLE>,

§

type Item = <String as Nullability<NULLABLE>>::Item

source§

impl<const NULLABLE: bool, OffsetItem: OffsetElement, Buffer: BufferType> Array for VariableSizeBinaryArray<NULLABLE, OffsetItem, Buffer>
where <Buffer as BufferType>::Buffer<OffsetItem>: Validity<NULLABLE>, Vec<u8>: Nullability<NULLABLE>,

§

type Item = <Vec<u8> as Nullability<NULLABLE>>::Item