API Reference
Class
DbDataReaderArrowExtensions
Apache Arrow projections for forward-only tabular readers.
Inheritance
- Object
- DbDataReaderArrowExtensions
Methods
public static ArrowCArrayStreamOwner ExportArrowCStream(DbDataReader reader, ArrowReadOptions options = null, CancellationToken cancellationToken = default) #Returns:
ArrowCArrayStreamOwnerExports the current result set through the Arrow C stream interface without materializing the whole result set.
Parameters
- reader System.Data.Common.DbDataReader
- Forward-only reader to project.
- options OfficeIMO.Data.Arrow.ArrowReadOptions = null
- Bounded Arrow projection options.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation observed by native stream callbacks.
public static IArrowArrayStream OpenArrowStream(DbDataReader reader, ArrowReadOptions options = null) #Returns:
IArrowArrayStreamOpens the current result set as a bounded Apache Arrow record-batch stream.
Parameters
- reader System.Data.Common.DbDataReader
- options OfficeIMO.Data.Arrow.ArrowReadOptions = null
public static IEnumerable<RecordBatch> ReadArrowBatches(DbDataReader reader, ArrowReadOptions options = null, CancellationToken cancellationToken = default) #Returns:
IEnumerable<RecordBatch>Converts the current result set into bounded Arrow record batches. The caller retains ownership of both the reader and every returned batch.
Parameters
- reader System.Data.Common.DbDataReader
- options OfficeIMO.Data.Arrow.ArrowReadOptions = null
- cancellationToken System.Threading.CancellationToken = default
public static IAsyncEnumerable<RecordBatch> ReadArrowBatchesAsync(DbDataReader reader, ArrowReadOptions options = null, CancellationToken cancellationToken = default) #Returns:
IAsyncEnumerable<RecordBatch>Asynchronously converts the current result set into bounded Arrow record batches. The caller retains ownership of both the reader and every returned batch.
Parameters
- reader System.Data.Common.DbDataReader
- options OfficeIMO.Data.Arrow.ArrowReadOptions = null
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object