Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ArrowReadOptions

OfficeIMO.Data.Arrow

Namespace
OfficeIMO.Data.Arrow
Assembly
OfficeIMO.Data.Arrow
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Controls bounded conversion from a data reader to Apache Arrow record batches.

Inheritance

  • object
  • ArrowReadOptions

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 4

Constructors

public ArrowReadOptions() #

Properties

public int BatchSize { get; set; } #

Gets or sets the maximum number of rows in one record batch.

public int DecimalPrecision { get; set; } #

Gets or sets the precision used for CLR decimal columns.

public int DecimalScale { get; set; } #

Gets or sets the scale used for CLR decimal columns.

public TimeUnit TemporalUnit { get; set; } #

Gets or sets the Arrow unit used for CLR DateTime, DateTimeOffset, and TimeOnly columns. The default is TimeUnit.Nanosecond, which preserves CLR's 100-nanosecond precision for values in Arrow's nanosecond timestamp range.

public bool ConvertUnsupportedTypesToString { get; set; } #

Gets or sets whether CLR types without a native adapter are converted to invariant text. When false, encountering such a column throws NotSupportedException.

public IReadOnlyList<Type>? ColumnTypes { get; set; } #

Gets or sets an optional CLR type for every source column, in ordinal order. When supplied, these types replace DbDataReader.GetFieldType and allow callers to skip source-reader schema inference.

public IReadOnlyList<bool>? ColumnNullability { get; set; } #

Gets or sets whether every source column permits nulls, in ordinal order. When omitted, all Arrow fields are nullable. A false entry declares a required field and rejects a batch containing null values in that column.