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

Method ReadDictionaryIndices

cpp/src/parquet/column_reader.cc:1092–1095  ·  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

1090 // Read dictionary indices. Similar to ReadValues but decode data to dictionary indices.
1091 // This function is called only by ReadBatchWithDictionary().
1092 int64_t ReadDictionaryIndices(int64_t indices_to_read, int32_t* indices) {
1093 auto decoder = dynamic_cast<DictDecoder<DType>*>(this->current_decoder_.get());
1094 return decoder->DecodeIndices(static_cast<int>(indices_to_read), indices);
1095 }
1096
1097 // Get dictionary. The dictionary should have been set by SetDict(). The dictionary is
1098 // owned by the internal decoder and is destroyed when the reader is destroyed. This

Callers

nothing calls this directly

Calls 2

DecodeIndicesMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected