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