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

Method ScanBatch

cpp/src/arrow/dataset/file_json.cc:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 int NumBatches() override { return num_batches_; }
73
74 Future<std::shared_ptr<RecordBatch>> ScanBatch(int index) override {
75 DCHECK_EQ(num_scanned_++, index);
76 return reader_->ReadNextAsync();
77 }
78
79 int64_t EstimatedDataBytes(int) override { return block_size_; }
80

Callers

nothing calls this directly

Calls 1

ReadNextAsyncMethod · 0.45

Tested by

no test coverage detected