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

Method Skip

cpp/src/parquet/column_reader.cc:206–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206int LevelDecoder::Skip(int batch_size) {
207 const int num_values = std::min(num_values_remaining_, batch_size);
208 const int num_advanced = impl_->Advance(num_values);
209 ARROW_DCHECK_EQ(num_values, num_advanced);
210 num_values_remaining_ -= num_advanced;
211 return num_advanced;
212}
213
214auto LevelDecoder::CountUpTo(int16_t value, int batch_size) -> CountUpToResult {
215 const int num_values = std::min(num_values_remaining_, batch_size);

Callers 6

ReadBytesZeroCopyFunction · 0.45
ColumnReaderSkipInt32Function · 0.45
SkipRecordsMethod · 0.45
TEST_FFunction · 0.45
SkipRowsInColumnMethod · 0.45

Calls 7

HasNextFunction · 0.85
ConsumeBufferedValuesMethod · 0.80
max_def_levelMethod · 0.80
max_rep_levelMethod · 0.80
AdvanceMethod · 0.45
CountUpToMethod · 0.45

Tested by 1

TEST_FFunction · 0.36