Builder to build options for writer_json()
More...
#include <cudf/io/json.hpp>
Builder to build options for writer_json()
Definition at line 1275 of file json.hpp.
◆ json_writer_options_builder() [1/2]
| cudf::io::json_writer_options_builder::json_writer_options_builder |
( |
| ) |
|
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ json_writer_options_builder() [2/2]
| cudf::io::json_writer_options_builder::json_writer_options_builder |
( |
sink_info const & |
sink, |
|
|
table_view const & |
table |
|
) |
| |
|
inlineexplicit |
Constructor from sink and table.
- Parameters
-
| sink | The sink used for writer output |
| table | Table to be written to output |
Definition at line 1292 of file json.hpp.
◆ build()
◆ compression()
Sets compression type of output sink.
- Parameters
-
| comptype | Compression type used |
- Returns
- this for chaining
Definition at line 1315 of file json.hpp.
◆ false_value()
Sets string used for values == 0 in INT8 types.
- Parameters
-
| val | String to represent values == 0 in INT8 types |
- Returns
- this for chaining
Definition at line 1413 of file json.hpp.
◆ include_nulls()
Enables/Disables output of nulls as 'null'.
- Parameters
-
| val | Boolean value to enable/disable |
- Returns
- this for chaining
Definition at line 1351 of file json.hpp.
◆ lines()
Enables/Disables JSON lines for records format.
- Parameters
-
| val | Boolean value to enable/disable |
- Returns
- this for chaining
Definition at line 1377 of file json.hpp.
◆ metadata()
Sets optional metadata (with column names).
- Parameters
-
| metadata | metadata (with column names) |
- Returns
- this for chaining
Definition at line 1327 of file json.hpp.
◆ na_rep()
Sets string to used for null entries.
- Parameters
-
| val | String to represent null value |
- Returns
- this for chaining
Definition at line 1339 of file json.hpp.
◆ rows_per_chunk()
Sets maximum number of rows to process for each file write.
- Parameters
-
| val | Number of rows per chunk |
- Returns
- this for chaining
Definition at line 1389 of file json.hpp.
◆ table()
Sets table to be written to output.
- Parameters
-
- Returns
- this for chaining
Definition at line 1303 of file json.hpp.
◆ true_value()
Sets string used for values != 0 in INT8 types.
- Parameters
-
| val | String to represent values != 0 in INT8 types |
- Returns
- this for chaining
Definition at line 1401 of file json.hpp.
◆ utf8_escaped()
Enables/Disable UTF-8 escaped output for string fields.
Default is false, which escapes all non-ASCII characters.
- Parameters
-
| val | Boolean value to enable/disable escaped UTF-8 output |
- Returns
- this for chaining
Definition at line 1365 of file json.hpp.
The documentation for this class was generated from the following file: