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

Method ArrayImporter

cpp/src/arrow/c/bridge.cc:1525–1526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1523
1524struct 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));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected