(&mut self, block: Buffer)
| 46 | } |
| 47 | |
| 48 | pub fn append_block(&mut self, block: Buffer) -> u32 { |
| 49 | let block_id = self.buffers.len() as u32; |
| 50 | self.buffers.push(block); |
| 51 | block_id |
| 52 | } |
| 53 | |
| 54 | /// Converts this into an [`ArrayRef`] with the provided `data_type` and `null_buffer` |
| 55 | pub fn into_array(self, null_buffer: Option<Buffer>, data_type: &ArrowType) -> ArrayRef { |