pub trait DefinitionLevelDecoder: ColumnLevelDecoder {
// Required methods
fn read_def_levels(
&mut self,
out: &mut Self::Buffer,
num_levels: usize,
) -> Result<(usize, usize)>;
fn skip_def_levels(&mut self, num_levels: usize) -> Result<(usize, usize)>;
}
Required Methods§
Sourcefn read_def_levels(
&mut self,
out: &mut Self::Buffer,
num_levels: usize,
) -> Result<(usize, usize)>
fn read_def_levels( &mut self, out: &mut Self::Buffer, num_levels: usize, ) -> Result<(usize, usize)>
Read up to num_levels
definition levels into out
Returns the number of values skipped, and the number of levels skipped
§Panics
Implementations may panic if range
overlaps with already written data