Table of Contents

Class CArrowArrayImporter

Namespace
Apache.Arrow.C
Assembly
Apache.Arrow.dll
public static class CArrowArrayImporter
Inheritance
CArrowArrayImporter
Inherited Members

Methods

ImportArray(CArrowArray*, IArrowType)

Import C pointer as an IArrowArray.

public static IArrowArray ImportArray(CArrowArray* ptr, IArrowType type)

Parameters

ptr CArrowArray*

The pointer to the array being imported

type IArrowType

The type of the array being imported

Returns

IArrowArray

The imported C# array

Remarks

This will call the release callback once all of the buffers in the returned IArrowArray are disposed.

ImportRecordBatch(CArrowArray*, Schema)

Import C pointer as a RecordBatch.

public static RecordBatch ImportRecordBatch(CArrowArray* ptr, Schema schema)

Parameters

ptr CArrowArray*

The pointer to the record batch being imported

schema Schema

The schema type of the record batch being imported

Returns

RecordBatch

The imported C# record batch

Remarks

This will call the release callback once all of the buffers in the returned RecordBatch are disposed.