Struct lance_encoding::encodings::logical::list::ListFieldEncoder
source · pub struct ListFieldEncoder { /* private fields */ }Implementations§
Trait Implementations§
source§impl FieldEncoder for ListFieldEncoder
impl FieldEncoder for ListFieldEncoder
source§fn maybe_encode(
&mut self,
array: ArrayRef
) -> Result<Vec<BoxFuture<'static, Result<EncodedPage>>>>
fn maybe_encode( &mut self, array: ArrayRef ) -> Result<Vec<BoxFuture<'static, Result<EncodedPage>>>>
Buffer the data and, if there is enough data in the buffer to form a page, return
an encoding task to encode the data. Read more
source§fn flush(&mut self) -> Result<Vec<BoxFuture<'static, Result<EncodedPage>>>>
fn flush(&mut self) -> Result<Vec<BoxFuture<'static, Result<EncodedPage>>>>
Flush any remaining data from the buffers into encoding tasks
source§fn num_columns(&self) -> u32
fn num_columns(&self) -> u32
The number of output columns this encoding will create
Auto Trait Implementations§
impl Freeze for ListFieldEncoder
impl !RefUnwindSafe for ListFieldEncoder
impl !Send for ListFieldEncoder
impl !Sync for ListFieldEncoder
impl Unpin for ListFieldEncoder
impl !UnwindSafe for ListFieldEncoder
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