Trait d4::ptab::PrimaryTableWriter
source · pub trait PrimaryTableWriter: Sized {
type Partition: PTablePartitionWriter;
// Required methods
fn create(directory: &mut Directory<File>, header: &Header) -> Result<Self>;
fn split(
&mut self,
header: &Header,
size_limit: Option<usize>
) -> Result<Vec<Self::Partition>>;
}
Expand description
The trait that is used to write a primary table
Required Associated Types§
sourcetype Partition: PTablePartitionWriter
type Partition: PTablePartitionWriter
The writer type for a parallel chunk