ArrowToVariantRowBuilder

Enum ArrowToVariantRowBuilder 

Source
pub(crate) enum ArrowToVariantRowBuilder<'a> {
Show 46 variants Null(NullArrowToVariantBuilder), Boolean(BooleanArrowToVariantBuilder<'a>), PrimitiveInt8(PrimitiveArrowToVariantBuilder<'a, Int8Type>), PrimitiveInt16(PrimitiveArrowToVariantBuilder<'a, Int16Type>), PrimitiveInt32(PrimitiveArrowToVariantBuilder<'a, Int32Type>), PrimitiveInt64(PrimitiveArrowToVariantBuilder<'a, Int64Type>), PrimitiveUInt8(PrimitiveArrowToVariantBuilder<'a, UInt8Type>), PrimitiveUInt16(PrimitiveArrowToVariantBuilder<'a, UInt16Type>), PrimitiveUInt32(PrimitiveArrowToVariantBuilder<'a, UInt32Type>), PrimitiveUInt64(PrimitiveArrowToVariantBuilder<'a, UInt64Type>), PrimitiveFloat16(PrimitiveArrowToVariantBuilder<'a, Float16Type>), PrimitiveFloat32(PrimitiveArrowToVariantBuilder<'a, Float32Type>), PrimitiveFloat64(PrimitiveArrowToVariantBuilder<'a, Float64Type>), Decimal32(Decimal32ArrowToVariantBuilder<'a>), Decimal64(Decimal64ArrowToVariantBuilder<'a>), Decimal128(Decimal128ArrowToVariantBuilder<'a>), Decimal256(Decimal256ArrowToVariantBuilder<'a>), TimestampSecond(TimestampArrowToVariantBuilder<'a, TimestampSecondType>), TimestampMillisecond(TimestampArrowToVariantBuilder<'a, TimestampMillisecondType>), TimestampMicrosecond(TimestampArrowToVariantBuilder<'a, TimestampMicrosecondType>), TimestampNanosecond(TimestampArrowToVariantBuilder<'a, TimestampNanosecondType>), Date32(DateArrowToVariantBuilder<'a, Date32Type>), Date64(DateArrowToVariantBuilder<'a, Date64Type>), Time32Second(TimeArrowToVariantBuilder<'a, Time32SecondType>), Time32Millisecond(TimeArrowToVariantBuilder<'a, Time32MillisecondType>), Time64Microsecond(TimeArrowToVariantBuilder<'a, Time64MicrosecondType>), Time64Nanosecond(TimeArrowToVariantBuilder<'a, Time64NanosecondType>), Binary(BinaryArrowToVariantBuilder<'a, i32>), LargeBinary(BinaryArrowToVariantBuilder<'a, i64>), BinaryView(BinaryViewArrowToVariantBuilder<'a>), FixedSizeBinary(FixedSizeBinaryArrowToVariantBuilder<'a>), Utf8(StringArrowToVariantBuilder<'a, i32>), LargeUtf8(StringArrowToVariantBuilder<'a, i64>), Utf8View(StringViewArrowToVariantBuilder<'a>), List(ListArrowToVariantBuilder<'a, GenericListArray<i32>>), LargeList(ListArrowToVariantBuilder<'a, GenericListArray<i64>>), ListView(ListArrowToVariantBuilder<'a, GenericListViewArray<i32>>), LargeListView(ListArrowToVariantBuilder<'a, GenericListViewArray<i64>>), FixedSizeList(ListArrowToVariantBuilder<'a, FixedSizeListArray>), Struct(StructArrowToVariantBuilder<'a>), Map(MapArrowToVariantBuilder<'a>), Union(UnionArrowToVariantBuilder<'a>), Dictionary(DictionaryArrowToVariantBuilder<'a>), RunEndEncodedInt16(RunEndEncodedArrowToVariantBuilder<'a, Int16Type>), RunEndEncodedInt32(RunEndEncodedArrowToVariantBuilder<'a, Int32Type>), RunEndEncodedInt64(RunEndEncodedArrowToVariantBuilder<'a, Int64Type>),
}
Expand description

Row builder for converting Arrow arrays to VariantArray row by row

Variants§

§

Null(NullArrowToVariantBuilder)

§

Boolean(BooleanArrowToVariantBuilder<'a>)

§

PrimitiveInt8(PrimitiveArrowToVariantBuilder<'a, Int8Type>)

§

PrimitiveInt16(PrimitiveArrowToVariantBuilder<'a, Int16Type>)

§

PrimitiveInt32(PrimitiveArrowToVariantBuilder<'a, Int32Type>)

§

PrimitiveInt64(PrimitiveArrowToVariantBuilder<'a, Int64Type>)

§

PrimitiveUInt8(PrimitiveArrowToVariantBuilder<'a, UInt8Type>)

§

PrimitiveUInt16(PrimitiveArrowToVariantBuilder<'a, UInt16Type>)

§

PrimitiveUInt32(PrimitiveArrowToVariantBuilder<'a, UInt32Type>)

§

PrimitiveUInt64(PrimitiveArrowToVariantBuilder<'a, UInt64Type>)

§

PrimitiveFloat16(PrimitiveArrowToVariantBuilder<'a, Float16Type>)

§

PrimitiveFloat32(PrimitiveArrowToVariantBuilder<'a, Float32Type>)

§

PrimitiveFloat64(PrimitiveArrowToVariantBuilder<'a, Float64Type>)

§

Decimal32(Decimal32ArrowToVariantBuilder<'a>)

§

Decimal64(Decimal64ArrowToVariantBuilder<'a>)

§

Decimal128(Decimal128ArrowToVariantBuilder<'a>)

§

Decimal256(Decimal256ArrowToVariantBuilder<'a>)

§

TimestampSecond(TimestampArrowToVariantBuilder<'a, TimestampSecondType>)

§

TimestampMillisecond(TimestampArrowToVariantBuilder<'a, TimestampMillisecondType>)

§

TimestampMicrosecond(TimestampArrowToVariantBuilder<'a, TimestampMicrosecondType>)

§

TimestampNanosecond(TimestampArrowToVariantBuilder<'a, TimestampNanosecondType>)

§

Date32(DateArrowToVariantBuilder<'a, Date32Type>)

§

Date64(DateArrowToVariantBuilder<'a, Date64Type>)

§

Time32Second(TimeArrowToVariantBuilder<'a, Time32SecondType>)

§

Time32Millisecond(TimeArrowToVariantBuilder<'a, Time32MillisecondType>)

§

Time64Microsecond(TimeArrowToVariantBuilder<'a, Time64MicrosecondType>)

§

Time64Nanosecond(TimeArrowToVariantBuilder<'a, Time64NanosecondType>)

§

Binary(BinaryArrowToVariantBuilder<'a, i32>)

§

LargeBinary(BinaryArrowToVariantBuilder<'a, i64>)

§

BinaryView(BinaryViewArrowToVariantBuilder<'a>)

§

FixedSizeBinary(FixedSizeBinaryArrowToVariantBuilder<'a>)

§

Utf8(StringArrowToVariantBuilder<'a, i32>)

§

LargeUtf8(StringArrowToVariantBuilder<'a, i64>)

§

Utf8View(StringViewArrowToVariantBuilder<'a>)

§

List(ListArrowToVariantBuilder<'a, GenericListArray<i32>>)

§

LargeList(ListArrowToVariantBuilder<'a, GenericListArray<i64>>)

§

ListView(ListArrowToVariantBuilder<'a, GenericListViewArray<i32>>)

§

LargeListView(ListArrowToVariantBuilder<'a, GenericListViewArray<i64>>)

§

FixedSizeList(ListArrowToVariantBuilder<'a, FixedSizeListArray>)

§

Struct(StructArrowToVariantBuilder<'a>)

§

Map(MapArrowToVariantBuilder<'a>)

§

Union(UnionArrowToVariantBuilder<'a>)

§

Dictionary(DictionaryArrowToVariantBuilder<'a>)

§

RunEndEncodedInt16(RunEndEncodedArrowToVariantBuilder<'a, Int16Type>)

§

RunEndEncodedInt32(RunEndEncodedArrowToVariantBuilder<'a, Int32Type>)

§

RunEndEncodedInt64(RunEndEncodedArrowToVariantBuilder<'a, Int64Type>)

Implementations§

Source§

impl<'a> ArrowToVariantRowBuilder<'a>

Source

pub fn append_row( &mut self, builder: &mut impl VariantBuilderExt, index: usize, ) -> Result<(), ArrowError>

Appends a single row at the given index to the supplied builder.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Ungil for T
where T: Send,