Class CArrowArrayExporter
public static class CArrowArrayExporter
- Inheritance
-
CArrowArrayExporter
- Inherited Members
Fields
EnableManagedMemoryExport
Formerly-experimental feature to enable exporting managed memory to CArrowArray. Now obsolete.
[Obsolete("EnableManagedMemoryExport is obsolete and ignored; managed memory export is now always enabled and this field will be removed in a future release.")]
public static bool EnableManagedMemoryExport
Field Value
Methods
ExportArray(IArrowArray, CArrowArray*)
Export an IArrowArray to a CArrowArray. The exported array shares the underlying buffers via reference counting, so the original array remains valid after export.
public static void ExportArray(IArrowArray array, CArrowArray* cArray)
Parameters
arrayIArrowArrayThe array to export
cArrayCArrowArray*An allocated but uninitialized CArrowArray pointer.
Examples
CArrowArray* exportPtr = CArrowArray.Create();
CArrowArrayExporter.ExportArray(array, exportPtr);
foreign_import_function(exportPtr);
ExportRecordBatch(RecordBatch, CArrowArray*)
Export a RecordBatch to a CArrowArray. The exported record batch shares the underlying buffers via reference counting, so the original batch remains valid after export.
public static void ExportRecordBatch(RecordBatch batch, CArrowArray* cArray)
Parameters
batchRecordBatchThe record batch to export
cArrayCArrowArray*An allocated but uninitialized CArrowArray pointer.
Examples
CArrowArray* exportPtr = CArrowArray.Create();
CArrowArrayExporter.ExportRecordBatch(batch, exportPtr);
foreign_import_function(exportPtr);