pub struct Typed<R> { /* private fields */ }
Expand description
Marker type for a compile-time typed schema R
.
Trait Implementations§
Source§impl<R> SchemaLike for Typed<R>where
R: SchemaMeta + BuildRows,
Typed schema: compile-time path.
impl<R> SchemaLike for Typed<R>where
R: SchemaMeta + BuildRows,
Typed schema: compile-time path.
Source§type Builders = TypedBuilders<R>
type Builders = TypedBuilders<R>
Concrete builders used to accumulate rows into columns.
Source§fn schema_ref(&self) -> Arc<Schema>
fn schema_ref(&self) -> Arc<Schema>
Return a shared reference to the underlying Arrow
Schema
.Source§fn new_builders(&self, capacity: usize) -> Self::Builders
fn new_builders(&self, capacity: usize) -> Self::Builders
Create new column builders with a given capacity hint.
Source§fn build_batch<I>(
&self,
rows: I,
) -> Result<RecordBatch, <Self::Builders as BuildersLike>::Error>where
I: IntoIterator<Item = Self::Row>,
fn build_batch<I>(
&self,
rows: I,
) -> Result<RecordBatch, <Self::Builders as BuildersLike>::Error>where
I: IntoIterator<Item = Self::Row>,
Build a
RecordBatch
from an iterator of rows. Read moreAuto Trait Implementations§
impl<R> Freeze for Typed<R>
impl<R> RefUnwindSafe for Typed<R>where
R: RefUnwindSafe,
impl<R> Send for Typed<R>where
R: Send,
impl<R> Sync for Typed<R>where
R: Sync,
impl<R> Unpin for Typed<R>where
R: Unpin,
impl<R> UnwindSafe for Typed<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more