[−][src]Trait d4::stab::STableWriter
Any type that is used to write a secondary table for D4 file
Associated Types
type Partition: STablePartitionWriter
The writer type to write a single parallel partition for the secondary table
Required methods
fn create(
root: &mut Directory<'static, ReadWrite, File>,
header: &Header
) -> Result<Self>
root: &mut Directory<'static, ReadWrite, File>,
header: &Header
) -> Result<Self>
Create the secondary table in the D4 file
fn split(
&mut self,
partitions: &[(&str, u32, u32)]
) -> Result<Vec<Self::Partition>>
&mut self,
partitions: &[(&str, u32, u32)]
) -> Result<Vec<Self::Partition>>
Split the secondary table into parallel partitions
fn enable_deflate_encoding(&mut self, level: u32) -> &mut Self
Enable the secondary table compression
Implementors
impl<R: Record> STableWriter for SimpleKeyValueWriter<R>
[src]
type Partition = SimpleKeyValuePartialWriter<R>
fn enable_deflate_encoding(&mut self, level: u32) -> &mut Self
[src]
fn create(
root: &mut Directory<'static, ReadWrite, File>,
_header: &Header
) -> Result<Self>
[src]
root: &mut Directory<'static, ReadWrite, File>,
_header: &Header
) -> Result<Self>
fn split(
&mut self,
partitions: &[(&str, u32, u32)]
) -> Result<Vec<SimpleKeyValuePartialWriter<R>>>
[src]
&mut self,
partitions: &[(&str, u32, u32)]
) -> Result<Vec<SimpleKeyValuePartialWriter<R>>>