Struct datafusion::common::arrow::ipc::RecordBatchBuilder
source · pub struct RecordBatchBuilder<'a, 'b>where
'a: 'b,{ /* private fields */ }
Implementations§
source§impl<'a, 'b> RecordBatchBuilder<'a, 'b>where
'a: 'b,
impl<'a, 'b> RecordBatchBuilder<'a, 'b>where
'a: 'b,
pub fn add_length(&mut self, length: i64)
pub fn add_nodes(&mut self, nodes: WIPOffset<Vector<'b, FieldNode>>)
pub fn add_buffers(&mut self, buffers: WIPOffset<Vector<'b, Buffer>>)
pub fn add_compression(&mut self, compression: WIPOffset<BodyCompression<'b>>)
pub fn add_variadicBufferCounts( &mut self, variadicBufferCounts: WIPOffset<Vector<'b, i64>> )
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a>) -> RecordBatchBuilder<'a, 'b>
pub fn finish(self) -> WIPOffset<RecordBatch<'a>>
Auto Trait Implementations§
impl<'a, 'b> Freeze for RecordBatchBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for RecordBatchBuilder<'a, 'b>
impl<'a, 'b> Send for RecordBatchBuilder<'a, 'b>
impl<'a, 'b> Sync for RecordBatchBuilder<'a, 'b>
impl<'a, 'b> Unpin for RecordBatchBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for RecordBatchBuilder<'a, 'b>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more