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

Method ReadDictionaryIndices

cpp/src/parquet/column_reader.cc:985–988  ·  view source on GitHub ↗

Read dictionary indices. Similar to ReadValues but decode data to dictionary indices. This function is called only by ReadBatchWithDictionary().

Source from the content-addressed store, hash-verified

983 // Read dictionary indices. Similar to ReadValues but decode data to dictionary indices.
984 // This function is called only by ReadBatchWithDictionary().
985 int64_t ReadDictionaryIndices(int64_t indices_to_read, int32_t* indices) {
986 auto decoder = dynamic_cast<DictDecoder<DType>*>(this->current_decoder_);
987 return decoder->DecodeIndices(static_cast<int>(indices_to_read), indices);
988 }
989
990 // Get dictionary. The dictionary should have been set by SetDict(). The dictionary is
991 // owned by the internal decoder and is destroyed when the reader is destroyed. This

Callers

nothing calls this directly

Calls 1

DecodeIndicesMethod · 0.80

Tested by

no test coverage detected