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

Method NextPage

cpp/src/parquet/test_util.h:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 : pages_(pages), page_index_(0) {}
217
218 std::shared_ptr<Page> NextPage() override {
219 if (page_index_ == static_cast<int>(pages_.size())) {
220 // EOS to consumer
221 return std::shared_ptr<Page>(nullptr);
222 }
223 return pages_[page_index_++];
224 }
225
226 // No-op
227 void set_max_page_header_size(uint32_t size) override {}

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected