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

Method ColumnWithExposeEncoding

cpp/src/parquet/file_reader.cc:138–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138std::shared_ptr<ColumnReader> RowGroupReader::ColumnWithExposeEncoding(
139 int i, ExposedEncoding encoding_to_expose) {
140 std::shared_ptr<ColumnReader> reader = Column(i);
141
142 if (encoding_to_expose == ExposedEncoding::DICTIONARY &&
143 IsColumnChunkFullyDictionaryEncoded(*metadata()->ColumnChunk(i))) {
144 // Set exposed encoding.
145 reader->SetExposedEncoding(encoding_to_expose);
146 }
147
148 return reader;
149}
150
151std::shared_ptr<internal::RecordReader> RowGroupReader::RecordReaderWithExposeEncoding(
152 int i, ExposedEncoding encoding_to_expose) {

Callers 1

TESTFunction · 0.80

Calls 5

SetExposedEncodingMethod · 0.80
ColumnClass · 0.50
metadataFunction · 0.50
ColumnChunkMethod · 0.45

Tested by 1

TESTFunction · 0.64