Struct CArrowDeviceArray
An Arrow C Device Data Interface ArrowDeviceArray, which represents an exported array along with the device on which the array data resides.
[Experimental("ArrowDeviceDataApi")]
public struct CArrowDeviceArray
- Inherited Members
Remarks
This is used to export IArrowArray or RecordBatch with device information to other languages. It matches the layout of the ArrowDeviceArray struct described in https://arrow.apache.org/docs/format/CDeviceDataInterface.html.
Fields
array
public CArrowArray array
Field Value
device_id
public long device_id
Field Value
device_type
public ArrowDeviceType device_type
Field Value
sync_event
public void* sync_event
Field Value
- void*
Methods
Create()
Allocate and zero-initialize an unmanaged pointer of this type.
public static CArrowDeviceArray* Create()
Returns
Remarks
This pointer must later be freed by Free(CArrowDeviceArray*).
Free(CArrowDeviceArray*)
Free a pointer that was allocated in Create().
public static void Free(CArrowDeviceArray* deviceArray)
Parameters
deviceArrayCArrowDeviceArray*
Remarks
Do not call this on a pointer that was allocated elsewhere.