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 1096 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 1113 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 1226 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 1208 of file io/json.hpp.
|
inline |
Enables/Disables output of nulls as 'null'.
val | Boolean value to enable/disable |
Definition at line 1160 of file io/json.hpp.
|
inline |
Enables/Disables JSON lines for records format.
val | Boolean value to enable/disable |
Definition at line 1172 of file io/json.hpp.
|
inline |
Sets optional metadata (with column names).
metadata | metadata (with column names) |
Definition at line 1136 of file io/json.hpp.
|
inline |
Sets string to used for null entries.
val | String to represent null value |
Definition at line 1148 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 1184 of file io/json.hpp.
|
inline |
Sets table to be written to output.
tbl | Table for the output |
Definition at line 1124 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 1196 of file io/json.hpp.