Struct CArrowArray
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
dictionary
public CArrowArray* dictionary
Field Value
length
public long length
Field Value
n_buffers
public long n_buffers
Field Value
n_children
public long n_children
Field Value
null_count
public long null_count
Field Value
offset
public long offset
Field Value
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
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.