Read dictionary indices. Similar to ReadValues but decode data to dictionary indices. This function is called only by ReadBatchWithDictionary().
| 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 |
nothing calls this directly
no test coverage detected