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
sheetIExcelSheetThe sheet to convert.
optionsArrowReadOptions
Returns
- RecordBatch
A record batch with one column per schema entry and one row per data row.
Exceptions
- ArgumentNullException
sheetis 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.