pub struct BinaryEncoder { /* private fields */ }Expand description
High-performance binary encoder
Implementations§
Source§impl BinaryEncoder
impl BinaryEncoder
Sourcepub fn new(layout: SchemaLayout, estimated_rows: usize) -> Self
pub fn new(layout: SchemaLayout, estimated_rows: usize) -> Self
Create a new encoder with pre-allocated buffers
Sourcepub fn encode_rows(&mut self, rows: &[Rc<Row>])
pub fn encode_rows(&mut self, rows: &[Rc<Row>])
Encode a batch of rows
Sourcepub fn layout(&self) -> &SchemaLayout
pub fn layout(&self) -> &SchemaLayout
Get the schema layout
Auto Trait Implementations§
impl Freeze for BinaryEncoder
impl RefUnwindSafe for BinaryEncoder
impl Send for BinaryEncoder
impl Sync for BinaryEncoder
impl Unpin for BinaryEncoder
impl UnwindSafe for BinaryEncoder
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