| 149 | } |
| 150 | |
| 151 | std::shared_ptr<internal::RecordReader> RowGroupReader::RecordReaderWithExposeEncoding( |
| 152 | int i, ExposedEncoding encoding_to_expose) { |
| 153 | return RecordReader( |
| 154 | i, |
| 155 | /*read_dictionary=*/encoding_to_expose == ExposedEncoding::DICTIONARY && |
| 156 | IsColumnChunkFullyDictionaryEncoded(*metadata()->ColumnChunk(i))); |
| 157 | } |
| 158 | |
| 159 | std::unique_ptr<PageReader> RowGroupReader::GetColumnPageReader(int i) { |
| 160 | if (i >= metadata()->num_columns()) { |