libcudf
24.02.00
|
Builder to build options for writer_json()
More...
#include <json.hpp>
Public Member Functions | |
json_writer_options_builder ()=default | |
Default constructor. More... | |
json_writer_options_builder (sink_info const &sink, table_view const &table) | |
Constructor from sink and table. More... | |
json_writer_options_builder & | table (table_view tbl) |
Sets table to be written to output. More... | |
json_writer_options_builder & | metadata (table_metadata metadata) |
Sets optional metadata (with column names). More... | |
json_writer_options_builder & | na_rep (std::string val) |
Sets string to used for null entries. More... | |
json_writer_options_builder & | include_nulls (bool val) |
Enables/Disables output of nulls as 'null'. More... | |
json_writer_options_builder & | lines (bool val) |
Enables/Disables JSON lines for records format. More... | |
json_writer_options_builder & | rows_per_chunk (int val) |
Sets maximum number of rows to process for each file write. More... | |
json_writer_options_builder & | true_value (std::string val) |
Sets string used for values != 0 in INT8 types. More... | |
json_writer_options_builder & | false_value (std::string val) |
Sets string used for values == 0 in INT8 types. More... | |
operator json_writer_options && () | |
move json_writer_options member once it's built. | |
json_writer_options && | build () |
move json_writer_options member once it's built. More... | |
Builder to build options for writer_json()
Definition at line 777 of file io/json.hpp.
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
|
inlineexplicit |
Constructor from sink and table.
sink | The sink used for writer output |
table | Table to be written to output |
Definition at line 794 of file io/json.hpp.
|
inline |
move json_writer_options
member once it's built.
This has been added since Cython does not support overloading of conversion operators.
json_writer_options
object's r-value reference Definition at line 907 of file io/json.hpp.
|
inline |
Sets string used for values == 0 in INT8 types.
val | String to represent values == 0 in INT8 types |
Definition at line 889 of file io/json.hpp.
|
inline |
Enables/Disables output of nulls as 'null'.
val | Boolean value to enable/disable |
Definition at line 841 of file io/json.hpp.
|
inline |
Enables/Disables JSON lines for records format.
val | Boolean value to enable/disable |
Definition at line 853 of file io/json.hpp.
|
inline |
Sets optional metadata (with column names).
metadata | metadata (with column names) |
Definition at line 817 of file io/json.hpp.
|
inline |
Sets string to used for null entries.
val | String to represent null value |
Definition at line 829 of file io/json.hpp.
|
inline |
Sets maximum number of rows to process for each file write.
val | Number of rows per chunk |
Definition at line 865 of file io/json.hpp.
|
inline |
Sets table to be written to output.
tbl | Table for the output |
Definition at line 805 of file io/json.hpp.
|
inline |
Sets string used for values != 0 in INT8 types.
val | String to represent values != 0 in INT8 types |
Definition at line 877 of file io/json.hpp.