pub trait StructuralFieldDecoder: Debug + Send {
// Required methods
fn accept_page(&mut self, _child: LoadedPage) -> Result<()>;
fn drain(
&mut self,
num_rows: u64,
) -> Result<Box<dyn StructuralDecodeArrayTask>>;
fn data_type(&self) -> &DataType;
}
Required Methods§
Sourcefn accept_page(&mut self, _child: LoadedPage) -> Result<()>
fn accept_page(&mut self, _child: LoadedPage) -> Result<()>
Add a newly scheduled child decoder
The default implementation does not expect children and returns an error.