MCPcopy Create free account
hub / github.com/apache/arrow / DeltaBitPackDecoder

Method DeltaBitPackDecoder

cpp/src/parquet/decoder.cc:1492–1498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85
ParquetExceptionFunction · 0.85

Tested by

no test coverage detected