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

Method BatchIterator

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

Source from the content-addressed store, hash-verified

84class BatchIterator : public RecordBatchReader {
85 public:
86 BatchIterator(const std::shared_ptr<Schema>& schema,
87 const std::vector<std::shared_ptr<RecordBatch>>& batches)
88 : schema_(schema), batches_(batches), position_(0) {}
89
90 std::shared_ptr<Schema> schema() const override { return schema_; }
91

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected