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

Method MockFragment

cpp/src/arrow/dataset/file_test.cc:389–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387class MockFragment : public Fragment {
388 public:
389 explicit MockFragment(uint32_t start, int64_t rows_per_batch, int num_batches,
390 const std::shared_ptr<Schema>& schema)
391 : Fragment(compute::literal(true), schema),
392 start_(start),
393 rows_per_batch_(rows_per_batch),
394 num_batches_(num_batches) {}
395
396 Result<RecordBatchGenerator> ScanBatchesAsync(
397 const std::shared_ptr<ScanOptions>& options) override {

Callers

nothing calls this directly

Calls 1

literalFunction · 0.50

Tested by

no test coverage detected