Table of Contents

Struct CArrowDeviceArrayStream

Namespace
Apache.Arrow.C
Assembly
Apache.Arrow.dll

An Arrow C Device Data Interface ArrowDeviceArrayStream, which represents a stream of record batches with device information.

[Experimental("ArrowDeviceDataApi")]
public struct CArrowDeviceArrayStream
Inherited Members

Remarks

This is used to export IArrowArrayStream with device information to other languages. It matches the layout of the ArrowDeviceArrayStream struct described in https://arrow.apache.org/docs/format/CDeviceDataInterface.html.

Fields

device_type

public ArrowDeviceType device_type

Field Value

ArrowDeviceType

private_data

public void* private_data

Field Value

void*

Methods

Create()

Allocate and zero-initialize an unmanaged pointer of this type.

public static CArrowDeviceArrayStream* Create()

Returns

CArrowDeviceArrayStream*

Remarks

This pointer must later be freed by Free(CArrowDeviceArrayStream*).

Free(CArrowDeviceArrayStream*)

Free a pointer that was allocated in Create().

public static void Free(CArrowDeviceArrayStream* stream)

Parameters

stream CArrowDeviceArrayStream*

Remarks

Do not call this on a pointer that was allocated elsewhere.