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

Method Decode

cpp/src/parquet/decoder.cc:918–927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916 }
917
918 int Decode(T* buffer, int num_values) override {
919 num_values = std::min(num_values, this->num_values_);
920 int decoded_values = idx_decoder_.GetBatchWithDict(
921 dictionary_->data_as<T>(), dictionary_length_, buffer, num_values);
922 if (decoded_values != num_values) {
923 ParquetException::EofException();
924 }
925 this->num_values_ -= num_values;
926 return num_values;
927 }
928
929 int DecodeSpaced(T* buffer, int num_values, int null_count, const uint8_t* valid_bits,
930 int64_t valid_bits_offset) override {

Callers

nothing calls this directly

Calls 1

GetBatchWithDictMethod · 0.80

Tested by

no test coverage detected