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

Method CountUpTo

cpp/src/parquet/column_reader.cc:214–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214auto LevelDecoder::CountUpTo(int16_t value, int batch_size) -> CountUpToResult {
215 const int num_values = std::min(num_values_remaining_, batch_size);
216 const auto result = impl_->CountUpTo(value, num_values);
217 ARROW_DCHECK_EQ(num_values, result.processed_count);
218 num_values_remaining_ -= result.processed_count;
219 return {
220 .matching_count = result.matching_count,
221 .processed_count = result.processed_count,
222 };
223}
224
225ReaderProperties default_reader_properties() {
226 static ReaderProperties default_reader_properties;

Callers 2

CountUpToMethod · 0.45
SkipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected