Function parquet2::encoding::delta_bitpacked::encode

source ·
pub fn encode<I: Iterator<Item = i64>>(iterator: I, buffer: &mut Vec<u8>)
Expand description

Encodes an iterator of i64 according to parquet’s DELTA_BINARY_PACKED.

§Implementation

  • This function does not allocate on the heap.
  • The number of mini-blocks is always 1. This may change in the future.