Table of Contents

Class ArrowConversionExtensions

Namespace
ExcelReader.Arrow
Assembly
ExcelReader.Arrow.dll

Converts an IExcelSheet into an Apache Arrow Apache.Arrow.RecordBatch.

public static class ArrowConversionExtensions
Inheritance
ArrowConversionExtensions
Inherited Members

Methods

ToArrowRecordBatch(IExcelSheet, ArrowReadOptions?)

Converts one sheet into an Arrow Apache.Arrow.RecordBatch.

public static RecordBatch ToArrowRecordBatch(this IExcelSheet sheet, ArrowReadOptions? options = null)

Parameters

sheet IExcelSheet

The sheet to convert.

options ArrowReadOptions

The schema and header row; Default when null.

Returns

RecordBatch

A record batch with one column per schema entry and one row per data row.

Exceptions

ArgumentNullException

sheet is null.

InvalidOperationException

A cell failed to convert to its column's declared type on a non-nullable column.

ArgumentException

The sheet has fewer rows than HeaderRow.

NotSupportedException

Schema names an unrecognized ExcelColumnType.