Skip to main content

StructUnshredVariantBuilder

Struct StructUnshredVariantBuilder 

Source
struct StructUnshredVariantBuilder<'a> {
    value: Option<&'a ArrayRef>,
    typed_value: &'a StructArray,
    field_unshredders: IndexMap<&'a str, Option<UnshredVariantRowBuilder<'a>>>,
}
Expand description

Builder for unshredding struct/object types with nested fields

Fields§

§value: Option<&'a ArrayRef>§typed_value: &'a StructArray§field_unshredders: IndexMap<&'a str, Option<UnshredVariantRowBuilder<'a>>>

Implementations§

Source§

impl<'a> StructUnshredVariantBuilder<'a>

Source

fn try_new( value: Option<&'a ArrayRef>, typed_value: &'a StructArray, ) -> Result<Self>

Source

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

Auto Trait Implementations§

§

impl<'a> !RefUnwindSafe for StructUnshredVariantBuilder<'a>

§

impl<'a> !UnwindSafe for StructUnshredVariantBuilder<'a>

§

impl<'a> Forget for StructUnshredVariantBuilder<'a>

§

impl<'a> Freeze for StructUnshredVariantBuilder<'a>
where &'a Arc<dyn Array>: Freeze, &'a StructArray: Freeze, *const u8 is !null: Freeze, PhantomData<usize>: Freeze, PhantomData<Bucket<&'a str, Option<UnshredVariantRowBuilder<'a>>>>: Freeze,

§

impl<'a> Move for StructUnshredVariantBuilder<'a>

§

impl<'a> Send for StructUnshredVariantBuilder<'a>
where &'a Arc<dyn Array>: Send, &'a StructArray: Send, RawTable<usize>: Send, RawVecInner: Send, &'a str: Send, &'a PrimitiveArray<Int8Type>: Send, &'a PrimitiveArray<Int16Type>: Send, &'a PrimitiveArray<Int32Type>: Send, &'a PrimitiveArray<Int64Type>: Send, &'a PrimitiveArray<Float32Type>: Send, &'a PrimitiveArray<Float64Type>: Send, &'a PrimitiveArray<Decimal32Type>: Send, &'a PrimitiveArray<Decimal64Type>: Send, &'a PrimitiveArray<Decimal128Type>: Send, &'a PrimitiveArray<Date32Type>: Send, &'a PrimitiveArray<Time64MicrosecondType>: Send, &'a PrimitiveArray<TimestampMicrosecondType>: Send, &'a PrimitiveArray<TimestampNanosecondType>: Send, &'a BooleanArray: Send, &'a GenericByteArray<GenericStringType<i32>>: Send, &'a GenericByteViewArray<StringViewType>: Send, &'a GenericByteArray<GenericStringType<i64>>: Send, &'a GenericByteArray<GenericBinaryType<i32>>: Send, &'a GenericByteViewArray<BinaryViewType>: Send, &'a GenericByteArray<GenericBinaryType<i64>>: Send, &'a FixedSizeBinaryArray: Send, &'a GenericListArray<i32>: Send, BoxRaw<UnshredVariantRowBuilder<'a>>: Send, &'a GenericListArray<i64>: Send, &'a GenericListViewArray<i32>: Send, &'a GenericListViewArray<i64>: Send,

§

impl<'a> Sync for StructUnshredVariantBuilder<'a>
where Arc<dyn Array>: Sync, Arc<str>: Sync, Arc<Field>: Sync, Arc<[Arc<Field>]>: Sync, Arc<[(i8, Arc<Field>)]>: Sync, BoxRaw<DataType>: Sync, Buffer: Sync, RawVecInner: Sync, RawTable<usize>: Sync, i8: Sync, i16: Sync, i32: Sync, i64: Sync, f32: Sync, f64: Sync, i128: Sync, Arc<[Buffer]>: Sync, BoxRaw<UnshredVariantRowBuilder<'a>>: Sync,

§

impl<'a> Unpin for StructUnshredVariantBuilder<'a>
where &'a Arc<dyn Array>: Unpin, &'a StructArray: Unpin, *const u8 is !null: Unpin, &'a str: Unpin, &'a PrimitiveArray<Int8Type>: Unpin, &'a PrimitiveArray<Int16Type>: Unpin, &'a PrimitiveArray<Int32Type>: Unpin, &'a PrimitiveArray<Int64Type>: Unpin, &'a PrimitiveArray<Float32Type>: Unpin, &'a PrimitiveArray<Float64Type>: Unpin, &'a PrimitiveArray<Decimal32Type>: Unpin, &'a PrimitiveArray<Decimal64Type>: Unpin, &'a PrimitiveArray<Decimal128Type>: Unpin, &'a PrimitiveArray<Date32Type>: Unpin, &'a PrimitiveArray<Time64MicrosecondType>: Unpin, &'a PrimitiveArray<TimestampMicrosecondType>: Unpin, &'a PrimitiveArray<TimestampNanosecondType>: Unpin, &'a BooleanArray: Unpin, &'a GenericByteArray<GenericStringType<i32>>: Unpin, &'a GenericByteViewArray<StringViewType>: Unpin, &'a GenericByteArray<GenericStringType<i64>>: Unpin, &'a GenericByteArray<GenericBinaryType<i32>>: Unpin, &'a GenericByteViewArray<BinaryViewType>: Unpin, &'a GenericByteArray<GenericBinaryType<i64>>: Unpin, &'a FixedSizeBinaryArray: Unpin, &'a GenericListArray<i32>: Unpin, Box<UnshredVariantRowBuilder<'a>>: Unpin, &'a GenericListArray<i64>: Unpin, &'a GenericListViewArray<i32>: Unpin, &'a GenericListViewArray<i64>: Unpin,

§

impl<'a> UnsafeUnpin for StructUnshredVariantBuilder<'a>
where &'a Arc<dyn Array>: UnsafeUnpin, &'a StructArray: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<usize>: UnsafeUnpin, PhantomData<Bucket<&'a str, Option<UnshredVariantRowBuilder<'a>>>>: UnsafeUnpin,

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
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

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.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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<T> Ungil for T
where T: Send,