Trait mz_persist_types::columnar::PartEncoder
source · pub trait PartEncoder<T> {
// Required methods
fn encode(&mut self, val: &T);
fn finish(self) -> (usize, Vec<DynColumnMut>);
}
Expand description
An encoder for values of a fixed schema
This allows us to amortize the cost of downcasting columns into concrete types.
Required Methods§
sourcefn finish(self) -> (usize, Vec<DynColumnMut>)
fn finish(self) -> (usize, Vec<DynColumnMut>)
Consumes self
returning the columns that were written to.