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

Method bytes_read

cpp/src/arrow/io/test_common.cc:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157 int64_t num_reads() const override { return read_ranges_.size(); }
158 int64_t bytes_read() const override {
159 int64_t sum = 0;
160 for (const auto& range : read_ranges_) {
161 sum += range.length;
162 }
163 return sum;
164 }
165
166 const std::vector<io::ReadRange>& get_read_ranges() const override {
167 return read_ranges_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected