Angara.Table


ReadSettings

Namespace: Angara.Data.DelimitedFile

Record Fields

Record FieldDescription
ColumnsCount
Signature: int option

An optional value that allows a user to provide an expected number of columns. If number of actually read columns differs from expected, then reading fails.

ColumnTypes
Signature: (int * string -> Type option) option

An optional value that allows a user to specify element types for some of columns. This allows to read integer columns since automatic inference always uses Double type for numeric values.

Delimiter
Signature: Delimiter

Determines which character delimits columns.

HasHeader
Signature: bool

If true, the first line is considered as a header of the table. This header will contain names corresponding to the fields in the file and should contain the same number of fields as the records in the rest of the file. Otherwise, if false, the first line is a data line and columns are named as A, B, C..., Z, AA, AB, ... ; see Table.DefaultColumnName function.

InferNullStrings
Signature: bool

If true, double quotes ("") are considered as empty string and an empty string is considered as null; otherwise, if false, both cases are considered as an empty string.

Static members

Static memberDescription
Default
Signature: ReadSettings

Expects comma as delimiter, has header, doesn't infer null strings, and doesn't predefine column count or types.

CompiledName: get_Default

Fork me on GitHub