Builds settings to use for read_json()
.
More...
#include <json.hpp>
Builds settings to use for read_json()
.
Definition at line 338 of file io/json.hpp.
◆ json_reader_options_builder() [1/2]
cudf::io::json_reader_options_builder::json_reader_options_builder |
( |
| ) |
|
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ json_reader_options_builder() [2/2]
cudf::io::json_reader_options_builder::json_reader_options_builder |
( |
source_info |
src | ) |
|
|
inlineexplicit |
Constructor from source info.
- Parameters
-
src | The source information used to read avro file |
Definition at line 354 of file io/json.hpp.
◆ build()
◆ byte_range_offset()
Set number of bytes to skip from source start.
- Parameters
-
offset | Number of bytes of offset |
- Returns
- this for chaining
Definition at line 410 of file io/json.hpp.
◆ byte_range_size()
Set number of bytes to read.
- Parameters
-
size | Number of bytes to read |
- Returns
- this for chaining
Definition at line 422 of file io/json.hpp.
◆ compression()
Set the compression type.
- Parameters
-
comp_type | The compression type used |
- Returns
- this for chaining
Definition at line 398 of file io/json.hpp.
◆ dayfirst()
Set whether to parse dates as DD/MM versus MM/DD.
- Parameters
-
val | Boolean value to enable/disable day first parsing format |
- Returns
- this for chaining
Definition at line 446 of file io/json.hpp.
◆ dtypes() [1/3]
Set data types for columns to be read.
- Parameters
-
types | Column name -> dtype map |
- Returns
- this for chaining
Definition at line 374 of file io/json.hpp.
◆ dtypes() [2/3]
Set data types for columns to be read.
- Parameters
-
- Returns
- this for chaining
Definition at line 386 of file io/json.hpp.
◆ dtypes() [3/3]
Set data types for columns to be read.
- Parameters
-
- Returns
- this for chaining
Definition at line 362 of file io/json.hpp.
◆ keep_quotes()
Set whether the reader should keep quotes of string values.
- Parameters
-
val | Boolean value to indicate whether the reader should keep quotes of string values |
- Returns
- this for chaining
Definition at line 471 of file io/json.hpp.
◆ legacy()
Set whether to use the legacy reader.
- Parameters
-
val | Boolean value to enable/disable legacy parsing |
- Returns
- this for chaining
Definition at line 458 of file io/json.hpp.
◆ lines()
Set whether to read the file as a json object per line.
- Parameters
-
val | Boolean value to enable/disable the option to read each line as a json object |
- Returns
- this for chaining
Definition at line 434 of file io/json.hpp.
◆ recovery_mode()
Specifies the JSON reader's behavior on invalid JSON lines.
- Parameters
-
val | An enum value to indicate the JSON reader's behavior on invalid JSON lines. |
- Returns
- this for chaining
Definition at line 483 of file io/json.hpp.
The documentation for this class was generated from the following file: