| 1523 | |
| 1524 | struct ArrayImporter { |
| 1525 | explicit ArrayImporter(const std::shared_ptr<DataType>& type) |
| 1526 | : type_(type), zero_size_buffer_(std::make_shared<Buffer>(kZeroSizeArea, 0)) {} |
| 1527 | |
| 1528 | Status Import(struct ArrowDeviceArray* src, const DeviceMemoryMapper& mapper) { |
| 1529 | ARROW_ASSIGN_OR_RAISE(memory_mgr_, mapper(src->device_type, src->device_id)); |
nothing calls this directly
no outgoing calls
no test coverage detected