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

Method SimpleRecordBatchReader

cpp/src/arrow/record_batch.cc:811–814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809class SimpleRecordBatchReader : public RecordBatchReader {
810 public:
811 SimpleRecordBatchReader(Iterator<std::shared_ptr<RecordBatch>> it,
812 std::shared_ptr<Schema> schema,
813 DeviceAllocationType device_type = DeviceAllocationType::kCPU)
814 : schema_(std::move(schema)), it_(std::move(it)), device_type_(device_type) {}
815
816 SimpleRecordBatchReader(std::vector<std::shared_ptr<RecordBatch>> batches,
817 std::shared_ptr<Schema> schema,

Callers

nothing calls this directly

Calls 1

MakeVectorIteratorFunction · 0.85

Tested by

no test coverage detected