MCPcopy Create free account
hub / github.com/apache/arrow-rs / append_block

Method append_block

parquet/src/arrow/buffer/view_buffer.rs:48–52  ·  view source on GitHub ↗
(&mut self, block: Buffer)

Source from the content-addressed store, hash-verified

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 {

Callers 5

read_implMethod · 0.45
readMethod · 0.45

Calls 2

lenMethod · 0.45
pushMethod · 0.45

Tested by 2