Table of Contents

Struct CArrowArray

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

An Arrow C Data Interface Schema, which represents the data in an exported array or record batch.

public struct CArrowArray
Inherited Members

Remarks

This is used to export RecordBatch or IArrowArray to other languages. It matches the layout of the ArrowArray struct described in https://github.com/apache/arrow/blob/main/cpp/src/arrow/c/abi.h.

Fields

buffers

public byte** buffers

Field Value

byte**

children

public CArrowArray** children

Field Value

CArrowArray**

dictionary

public CArrowArray* dictionary

Field Value

CArrowArray*

length

public long length

Field Value

long

n_buffers

public long n_buffers

Field Value

long

n_children

public long n_children

Field Value

long

null_count

public long null_count

Field Value

long

offset

public long offset

Field Value

long

private_data

public void* private_data

Field Value

void*

Methods

CallReleaseFunc(CArrowArray*)

Call the array's release func, if set.

public static void CallReleaseFunc(CArrowArray* array)

Parameters

array CArrowArray*

Create()

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

public static CArrowArray* Create()

Returns

CArrowArray*

Remarks

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

Free(CArrowArray*)

Free a pointer that was allocated in Create().

public static void Free(CArrowArray* array)

Parameters

array CArrowArray*

Remarks

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