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

Method Decode

cpp/src/parquet/decoder.cc:899–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897 }
898
899 int Decode(T* buffer, int num_values) override {
900 num_values = std::min(num_values, this->num_values_);
901 int decoded_values = idx_decoder_.GetBatchWithDict(
902 dictionary_->data_as<T>(), dictionary_length_, buffer, num_values);
903 if (decoded_values != num_values) {
904 ParquetException::EofException();
905 }
906 this->num_values_ -= num_values;
907 return num_values;
908 }
909
910 int DecodeSpaced(T* buffer, int num_values, int null_count, const uint8_t* valid_bits,
911 int64_t valid_bits_offset) override {

Callers

nothing calls this directly

Calls 1

GetBatchWithDictMethod · 0.80

Tested by

no test coverage detected