arrow.csvread_options

Module for [CSVReadOptions] class

Types 3

Methods
GType _gType() @property
CSVReadOptions self()Returns `this`, for use in `with` statements.
CSVReadOptionsGidBuilder builder()Get builder for [arrow.csvread_options.CSVReadOptions] Returns: New builder object
bool allowNewlinesInValues() @propertyGet `allowNewlinesInValues` property. Returns: Whether values are allowed to contain CR (0x0d) and LF (0x0a) characters.
void allowNewlinesInValues(bool propval) @propertySet `allowNewlinesInValues` property. Params: propval = Whether values are allowed to contain CR (0x0d) and LF (0x0a) characters.
bool allowNullStrings() @propertyGet `allowNullStrings` property. Returns: Whether string / binary columns can have null values. If true, then strings in "null_values" are considered null for string columns. If false, then all str...
void allowNullStrings(bool propval) @propertySet `allowNullStrings` property. Params: propval = Whether string / binary columns can have null values. If true, then strings in "null_values" are considered null for string columns. If false, the...
int blockSize() @propertyGet `blockSize` property. Returns: Block size we request from the IO layer; also determines the size of chunks when #GArrowCSVReadOptions:use-threads is true.
void blockSize(int propval) @propertySet `blockSize` property. Params: propval = Block size we request from the IO layer; also determines the size of chunks when #GArrowCSVReadOptions:use-threads is true.
bool checkUtf8() @propertyGet `checkUtf8` property. Returns: Whether to check UTF8 validity of string columns.
void checkUtf8(bool propval) @propertySet `checkUtf8` property. Params: propval = Whether to check UTF8 validity of string columns.
char delimiter() @propertyGet `delimiter` property. Returns: Field delimiter character.
void delimiter(char propval) @propertySet `delimiter` property. Params: propval = Field delimiter character.
char escapeCharacter() @propertyGet `escapeCharacter` property. Returns: Escaping character. This is used only when #GArrowCSVReadOptions:is-escaped is true.
void escapeCharacter(char propval) @propertySet `escapeCharacter` property. Params: propval = Escaping character. This is used only when #GArrowCSVReadOptions:is-escaped is true.
bool generateColumnNames() @property
void generateColumnNames(bool propval) @property
bool ignoreEmptyLines() @propertyGet `ignoreEmptyLines` property. Returns: Whether empty lines are ignored. If false, an empty line represents a simple empty value (assuming a one-column CSV file).
void ignoreEmptyLines(bool propval) @propertySet `ignoreEmptyLines` property. Params: propval = Whether empty lines are ignored. If false, an empty line represents a simple empty value (assuming a one-column CSV file).
bool isDoubleQuoted() @propertyGet `isDoubleQuoted` property. Returns: Whether a quote inside a value is double quoted.
void isDoubleQuoted(bool propval) @propertySet `isDoubleQuoted` property. Params: propval = Whether a quote inside a value is double quoted.
bool isEscaped() @propertyGet `isEscaped` property. Returns: Whether escaping is used.
void isEscaped(bool propval) @propertySet `isEscaped` property. Params: propval = Whether escaping is used.
bool isQuoted() @propertyGet `isQuoted` property. Returns: Whether quoting is used.
void isQuoted(bool propval) @propertySet `isQuoted` property. Params: propval = Whether quoting is used.
uint nSkipRows() @propertyGet `nSkipRows` property. Returns: The number of header rows to skip (not including the row of column names, if any)
void nSkipRows(uint propval) @propertySet `nSkipRows` property. Params: propval = The number of header rows to skip (not including the row of column names, if any)
char quoteCharacter() @propertyGet `quoteCharacter` property. Returns: Quoting character. This is used only when #GArrowCSVReadOptions:is-quoted is true.
void quoteCharacter(char propval) @propertySet `quoteCharacter` property. Params: propval = Quoting character. This is used only when #GArrowCSVReadOptions:is-quoted is true.
bool useThreads() @propertyGet `useThreads` property. Returns: Whether to use the global CPU thread pool.
void useThreads(bool propval) @propertySet `useThreads` property. Params: propval = Whether to use the global CPU thread pool.
void addColumnName(string columnName)
void addColumnType(string name, arrow.data_type.DataType dataType)Add value type of a column.
void addFalseValue(string falseValue)
void addNullValue(string nullValue)
void addSchema(arrow.schema.Schema schema)Add value types for columns in the schema.
void addTrueValue(string trueValue)
string[] getColumnNames()
string[] getFalseValues()
string[] getNullValues()
string[] getTrueValues()
void setColumnNames(string[] columnNames)
void setFalseValues(string[] falseValues)
void setNullValues(string[] nullValues)
void setTrueValues(string[] trueValues)
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T allowNewlinesInValues(bool propval)Set `allowNewlinesInValues` property. Params: propval = Whether values are allowed to contain CR (0x0d) and LF (0x0a) characters. Returns: Builder instance for fluent chaining
T allowNullStrings(bool propval)Set `allowNullStrings` property. Params: propval = Whether string / binary columns can have null values. If true, then strings in "null_values" are considered null for string columns. If false, the...
T blockSize(int propval)Set `blockSize` property. Params: propval = Block size we request from the IO layer; also determines the size of chunks when #GArrowCSVReadOptions:use-threads is true. Returns: Builder instance for...
T checkUtf8(bool propval)Set `checkUtf8` property. Params: propval = Whether to check UTF8 validity of string columns. Returns: Builder instance for fluent chaining
T delimiter(char propval)Set `delimiter` property. Params: propval = Field delimiter character. Returns: Builder instance for fluent chaining
T escapeCharacter(char propval)Set `escapeCharacter` property. Params: propval = Escaping character. This is used only when #GArrowCSVReadOptions:is-escaped is true. Returns: Builder instance for fluent chaining
T generateColumnNames(bool propval)
T ignoreEmptyLines(bool propval)Set `ignoreEmptyLines` property. Params: propval = Whether empty lines are ignored. If false, an empty line represents a simple empty value (assuming a one-column CSV file). Returns: Builder instan...
T isDoubleQuoted(bool propval)Set `isDoubleQuoted` property. Params: propval = Whether a quote inside a value is double quoted. Returns: Builder instance for fluent chaining
T isEscaped(bool propval)Set `isEscaped` property. Params: propval = Whether escaping is used. Returns: Builder instance for fluent chaining
T isQuoted(bool propval)Set `isQuoted` property. Params: propval = Whether quoting is used. Returns: Builder instance for fluent chaining
T nSkipRows(uint propval)Set `nSkipRows` property. Params: propval = The number of header rows to skip (not including the row of column names, if any) Returns: Builder instance for fluent chaining
T quoteCharacter(char propval)Set `quoteCharacter` property. Params: propval = Quoting character. This is used only when #GArrowCSVReadOptions:is-quoted is true. Returns: Builder instance for fluent chaining
T useThreads(bool propval)Set `useThreads` property. Params: propval = Whether to use the global CPU thread pool. Returns: Builder instance for fluent chaining

Fluent builder for [arrow.csvread_options.CSVReadOptions]