UnshredVariantRowBuilder

Enum UnshredVariantRowBuilder 

Source
enum UnshredVariantRowBuilder<'a> {
Show 25 variants PrimitiveInt8(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int8Type>>), PrimitiveInt16(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int16Type>>), PrimitiveInt32(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int32Type>>), PrimitiveInt64(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int64Type>>), PrimitiveFloat32(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Float32Type>>), PrimitiveFloat64(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Float64Type>>), Decimal32(DecimalUnshredRowBuilder<'a, Decimal32Spec>), Decimal64(DecimalUnshredRowBuilder<'a, Decimal64Spec>), Decimal128(DecimalUnshredRowBuilder<'a, Decimal128Spec>), PrimitiveDate32(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Date32Type>>), PrimitiveTime64(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Time64MicrosecondType>>), TimestampMicrosecond(TimestampUnshredRowBuilder<'a, TimestampMicrosecondType>), TimestampNanosecond(TimestampUnshredRowBuilder<'a, TimestampNanosecondType>), PrimitiveBoolean(UnshredPrimitiveRowBuilder<'a, BooleanArray>), PrimitiveString(UnshredPrimitiveRowBuilder<'a, StringArray>), PrimitiveBinaryView(UnshredPrimitiveRowBuilder<'a, BinaryViewArray>), PrimitiveUuid(UnshredPrimitiveRowBuilder<'a, FixedSizeBinaryArray>), List(ListUnshredVariantBuilder<'a, GenericListArray<i32>>), LargeList(ListUnshredVariantBuilder<'a, GenericListArray<i64>>), ListView(ListUnshredVariantBuilder<'a, GenericListViewArray<i32>>), LargeListView(ListUnshredVariantBuilder<'a, GenericListViewArray<i64>>), FixedSizeList(ListUnshredVariantBuilder<'a, FixedSizeListArray>), Struct(StructUnshredVariantBuilder<'a>), ValueOnly(ValueOnlyUnshredVariantBuilder<'a>), Null(NullUnshredVariantBuilder<'a>),
}
Expand description

Row builder for converting shredded VariantArray rows back to unshredded form

Variants§

§

PrimitiveInt8(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int8Type>>)

§

PrimitiveInt16(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int16Type>>)

§

PrimitiveInt32(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int32Type>>)

§

PrimitiveInt64(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Int64Type>>)

§

PrimitiveFloat32(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Float32Type>>)

§

PrimitiveFloat64(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Float64Type>>)

§

Decimal32(DecimalUnshredRowBuilder<'a, Decimal32Spec>)

§

Decimal64(DecimalUnshredRowBuilder<'a, Decimal64Spec>)

§

Decimal128(DecimalUnshredRowBuilder<'a, Decimal128Spec>)

§

PrimitiveDate32(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Date32Type>>)

§

PrimitiveTime64(UnshredPrimitiveRowBuilder<'a, PrimitiveArray<Time64MicrosecondType>>)

§

TimestampMicrosecond(TimestampUnshredRowBuilder<'a, TimestampMicrosecondType>)

§

TimestampNanosecond(TimestampUnshredRowBuilder<'a, TimestampNanosecondType>)

§

PrimitiveBoolean(UnshredPrimitiveRowBuilder<'a, BooleanArray>)

§

PrimitiveString(UnshredPrimitiveRowBuilder<'a, StringArray>)

§

PrimitiveBinaryView(UnshredPrimitiveRowBuilder<'a, BinaryViewArray>)

§

PrimitiveUuid(UnshredPrimitiveRowBuilder<'a, FixedSizeBinaryArray>)

§

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

§

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

§

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

§

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

§

FixedSizeList(ListUnshredVariantBuilder<'a, FixedSizeListArray>)

§

Struct(StructUnshredVariantBuilder<'a>)

§

ValueOnly(ValueOnlyUnshredVariantBuilder<'a>)

§

Null(NullUnshredVariantBuilder<'a>)

Implementations§

Source§

impl<'a> UnshredVariantRowBuilder<'a>

Source

fn null(nulls: Option<&'a NullBuffer>) -> Self

Creates an all-null row builder.

Source

fn append_row( &mut self, builder: &mut impl VariantBuilderExt, metadata: &VariantMetadata<'_>, index: usize, ) -> Result<()>

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

Source

fn try_new_opt( shredding_state: BorrowedShreddingState<'a>, ) -> Result<Option<Self>>

Creates a new UnshredVariantRowBuilder from shredding state Returns None for None/None case - caller decides how to handle based on context

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,