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

Method MockPageReader

cpp/src/parquet/test_util.h:215–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213class MockPageReader : public PageReader {
214 public:
215 explicit MockPageReader(const std::vector<std::shared_ptr<Page>>& pages)
216 : pages_(pages), page_index_(0) {}
217
218 std::shared_ptr<Page> NextPage() override {
219 if (page_index_ == static_cast<int>(pages_.size())) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected