| 1490 | using UT = std::make_unsigned_t<T>; |
| 1491 | |
| 1492 | explicit DeltaBitPackDecoder(const ColumnDescriptor* descr, |
| 1493 | MemoryPool* pool = ::arrow::default_memory_pool()) |
| 1494 | : TypedDecoderImpl<DType>(descr, Encoding::DELTA_BINARY_PACKED), pool_(pool) { |
| 1495 | if (DType::type_num != Type::INT32 && DType::type_num != Type::INT64) { |
| 1496 | throw ParquetException("Delta bit pack encoding should only be for integer data."); |
| 1497 | } |
| 1498 | } |
| 1499 | |
| 1500 | void SetData(int num_values, const uint8_t* data, int len) override { |
| 1501 | // num_values is equal to page's num_values, including null values in this page |
nothing calls this directly
no test coverage detected