libcudf
23.12.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 718 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 735 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 848 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 830 of file io/json.hpp.
|
inline |
Enables/Disables output of nulls as 'null'.
val | Boolean value to enable/disable |
Definition at line 782 of file io/json.hpp.
|
inline |
Enables/Disables JSON lines for records format.
val | Boolean value to enable/disable |
Definition at line 794 of file io/json.hpp.
|
inline |
Sets optional metadata (with column names).
metadata | metadata (with column names) |
Definition at line 758 of file io/json.hpp.
|
inline |
Sets string to used for null entries.
val | String to represent null value |
Definition at line 770 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 806 of file io/json.hpp.
|
inline |
Sets table to be written to output.
tbl | Table for the output |
Definition at line 746 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 818 of file io/json.hpp.