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

Method MockFragment

cpp/src/arrow/dataset/scanner_test.cc:235–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 // ### Fragment API ###
234
235 MockFragment(std::shared_ptr<Schema> fragment_schema,
236 std::vector<MockScanTask> scan_tasks,
237 std::shared_ptr<InspectedFragment> inspected,
238 compute::Expression partition_expression)
239 : Fragment(std::move(partition_expression), std::move(fragment_schema)),
240 fragment_scanner_(std::make_shared<MockFragmentScanner>(std::move(scan_tasks))),
241 inspected_(std::move(inspected)) {}
242
243 Result<RecordBatchGenerator> ScanBatchesAsync(
244 const std::shared_ptr<ScanOptions>& options) override {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected