Skip to main content

VariantArrowToVariantBuilder

Struct VariantArrowToVariantBuilder 

Source
pub(crate) struct VariantArrowToVariantBuilder {
    variant_array: VariantArray,
}
Expand description

Builder for a Variant-annotated child array.

Fields§

§variant_array: VariantArray

Implementations§

Source§

impl VariantArrowToVariantBuilder

Source

pub(crate) fn new(array: &dyn Array) -> Result<Self, ArrowError>

Source

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

Auto Trait Implementations§

§

impl !RefUnwindSafe for VariantArrowToVariantBuilder

§

impl !UnwindSafe for VariantArrowToVariantBuilder

§

impl Forget for VariantArrowToVariantBuilder

§

impl Freeze for VariantArrowToVariantBuilder
where *const ArcInner<str> is !null: Freeze, PhantomData<ArcInner<str>>: Freeze, *const ArcInner<Field> is !null: Freeze, PhantomData<ArcInner<Field>>: Freeze, *const ArcInner<[Arc<Field>]> is !null: Freeze, PhantomData<ArcInner<[Arc<Field>]>>: Freeze, *const ArcInner<[(i8, Arc<Field>)]> is !null: Freeze, PhantomData<ArcInner<[(i8, Arc<Field>)]>>: Freeze, *const DataType is !null: Freeze, PhantomData<DataType>: Freeze, *const ArcInner<Bytes> is !null: Freeze, PhantomData<ArcInner<Bytes>>: Freeze, *const u8: Freeze, *const u8 is !null: Freeze, PhantomData<Arc<dyn Array>>: Freeze, *const ArcInner<dyn Array> is !null: Freeze, PhantomData<ArcInner<dyn Array>>: Freeze,

§

impl Move for VariantArrowToVariantBuilder

§

impl Send for VariantArrowToVariantBuilder
where Arc<str>: Send, Arc<Field>: Send, Arc<[Arc<Field>]>: Send, Arc<[(i8, Arc<Field>)]>: Send, BoxRaw<DataType>: Send, Buffer: Send, RawVecInner: Send, Arc<dyn Array>: Send,

§

impl Sync for VariantArrowToVariantBuilder
where Arc<str>: Sync, Arc<Field>: Sync, Arc<[Arc<Field>]>: Sync, Arc<[(i8, Arc<Field>)]>: Sync, BoxRaw<DataType>: Sync, Buffer: Sync, RawVecInner: Sync, Arc<dyn Array>: Sync,

§

impl Unpin for VariantArrowToVariantBuilder
where Arc<str>: Unpin, Arc<Field>: Unpin, Arc<[Arc<Field>]>: Unpin, Arc<[(i8, Arc<Field>)]>: Unpin, Box<DataType>: Unpin, Arc<Bytes>: Unpin, *const u8: Unpin, *const u8 is !null: Unpin, Arc<dyn Array>: Unpin,

§

impl UnsafeUnpin for VariantArrowToVariantBuilder

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,