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

Method ReadNext

cpp/src/arrow/testing/util.h:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 std::shared_ptr<Schema> schema() const override { return schema_; }
91
92 Status ReadNext(std::shared_ptr<RecordBatch>* out) override {
93 if (position_ >= batches_.size()) {
94 *out = nullptr;
95 } else {
96 *out = batches_[position_++];
97 }
98 return Status::OK();
99 }
100
101 private:
102 std::shared_ptr<Schema> schema_;

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected