Class CArrowArrayImporter
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
IArrowTypeThe 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
SchemaThe 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.