Table of Contents

Class CArrowSchemaExporter

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

Methods

ExportField(Field, CArrowSchema*)

Export a field to a CArrowSchema.

public static void ExportField(Field field, CArrowSchema* schema)

Parameters

field Field

The field to export

schema CArrowSchema*

An allocated but uninitialized CArrowSchema pointer.

Examples

CArrowSchema* exportPtr = CArrowSchema.Create();
CArrowSchemaExporter.ExportType(field, exportPtr);
foreign_import_function(exportPtr);
CArrowSchema.Free(exportPtr);

ExportSchema(Schema, CArrowSchema*)

Export a schema to a CArrowSchema.

public static void ExportSchema(Schema schema, CArrowSchema* out_schema)

Parameters

schema Schema

The schema to export

out_schema CArrowSchema*

An allocated but uninitialized CArrowSchema pointer.

Examples

CArrowSchema* exportPtr = CArrowSchema.Create();
CArrowSchemaExporter.ExportType(schema, exportPtr);
foreign_import_function(exportPtr);
CArrowSchema.Free(exportPtr);

ExportType(IArrowType, CArrowSchema*)

Export a type to a CArrowSchema.

public static void ExportType(IArrowType datatype, CArrowSchema* schema)

Parameters

datatype IArrowType

The datatype to export

schema CArrowSchema*

An allocated but uninitialized CArrowSchema pointer.

Examples

CArrowSchema* exportPtr = CArrowSchema.Create();
CArrowSchemaExporter.ExportType(dataType, exportPtr);
foreign_import_function(exportPtr);
CArrowSchema.Free(exportPtr);