TypedBuilders

Struct TypedBuilders 

Source
pub struct TypedBuilders<R: BuildRows> { /* private fields */ }
Expand description

Adapter over typed builders that implements BuildersLike.

Trait Implementations§

Source§

impl<R> BuildersLike for TypedBuilders<R>
where R: BuildRows,

Source§

type Row = R

The row representation accepted by these builders.
Source§

type Error = NoError

The error type returned by these builders.
Source§

fn append_row(&mut self, row: Self::Row) -> Result<(), NoError>

Append a non-null row to all columns. Read more
Source§

fn append_option_row(&mut self, row: Option<Self::Row>) -> Result<(), NoError>

Append an optional row; None appends a null to all columns. Read more
Source§

fn finish_into_batch(self) -> RecordBatch

Finish building and convert accumulated arrays into a RecordBatch.
Source§

fn try_finish_into_batch(self) -> Result<RecordBatch, Self::Error>
where Self: Sized,

Try to finish building a RecordBatch, returning an error with richer diagnostics when available (e.g., dynamic nullability). Read more

Auto Trait Implementations§

§

impl<R> Freeze for TypedBuilders<R>
where <R as BuildRows>::Builders: Freeze,

§

impl<R> RefUnwindSafe for TypedBuilders<R>

§

impl<R> Send for TypedBuilders<R>
where <R as BuildRows>::Builders: Send,

§

impl<R> Sync for TypedBuilders<R>
where <R as BuildRows>::Builders: Sync,

§

impl<R> Unpin for TypedBuilders<R>
where <R as BuildRows>::Builders: Unpin,

§

impl<R> UnwindSafe for TypedBuilders<R>
where <R as BuildRows>::Builders: UnwindSafe,

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.
Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,