ArrowReadOptions
OfficeIMO.Data.Arrow
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() #Inherited Methods
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.