Class CArrowArrayExporter
public static class CArrowArrayExporter
- Inheritance
-
CArrowArrayExporter
- Inherited Members
Methods
ExportArray(IArrowArray, CArrowArray*)
Export an IArrowArray to a CArrowArray. Whether or not the export succeeds, the original array becomes invalid. Clone an array to continue using it after a copy has been exported.
public static void ExportArray(IArrowArray array, CArrowArray* cArray)
Parameters
array
IArrowArrayThe array to export
cArray
CArrowArray*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. Whether or not the export succeeds, the original record batch becomes invalid. Clone the batch to continue using it after a copy has been exported.
public static void ExportRecordBatch(RecordBatch batch, CArrowArray* cArray)
Parameters
batch
RecordBatchThe record batch to export
cArray
CArrowArray*An allocated but uninitialized CArrowArray pointer.
Examples
CArrowArray* exportPtr = CArrowArray.Create();
CArrowArrayExporter.ExportRecordBatch(batch, exportPtr);
foreign_import_function(exportPtr);