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

Method GetDictionary

cpp/src/parquet/column_reader.cc:1100–1103  ·  view source on GitHub ↗

Get dictionary. The dictionary should have been set by SetDict(). The dictionary is owned by the internal decoder and is destroyed when the reader is destroyed. This function is called only by ReadBatchWithDictionary() after dictionary is configured.

Source from the content-addressed store, hash-verified

1098 // owned by the internal decoder and is destroyed when the reader is destroyed. This
1099 // function is called only by ReadBatchWithDictionary() after dictionary is configured.
1100 void GetDictionary(const T** dictionary, int32_t* dictionary_length) {
1101 auto decoder = dynamic_cast<DictDecoder<DType>*>(this->current_decoder_.get());
1102 decoder->GetDictionary(dictionary, dictionary_length);
1103 }
1104
1105 // Read definition and repetition levels. Also return the number of definition levels
1106 // and number of values to read. This function is called before reading values.

Callers 1

ReadDictionaryMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected