Settings to use for write_json()
.
More...
#include <json.hpp>
Settings to use for write_json()
.
Definition at line 946 of file io/json.hpp.
◆ json_writer_options()
cudf::io::json_writer_options::json_writer_options |
( |
| ) |
|
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ builder()
◆ enable_include_nulls()
void cudf::io::json_writer_options::enable_include_nulls |
( |
bool |
val | ) |
|
|
inline |
Enables/Disables output of nulls as 'null'.
- Parameters
-
val | Boolean value to enable/disable |
Definition at line 1104 of file io/json.hpp.
◆ enable_lines()
void cudf::io::json_writer_options::enable_lines |
( |
bool |
val | ) |
|
|
inline |
Enables/Disables JSON lines for records format.
- Parameters
-
val | Boolean value to enable/disable JSON lines |
Definition at line 1111 of file io/json.hpp.
◆ get_compression()
Returns compression type used for sink.
- Returns
- compression type for sink
Definition at line 1032 of file io/json.hpp.
◆ get_false_value()
std::string const& cudf::io::json_writer_options::get_false_value |
( |
| ) |
const |
|
inline |
Returns string used for values == 0 in INT8 types.
- Returns
- string used for values == 0 in INT8 types
Definition at line 1067 of file io/json.hpp.
◆ get_metadata()
std::optional<table_metadata> const& cudf::io::json_writer_options::get_metadata |
( |
| ) |
const |
|
inline |
Returns metadata information.
- Returns
- Metadata information
Definition at line 1018 of file io/json.hpp.
◆ get_na_rep()
std::string const& cudf::io::json_writer_options::get_na_rep |
( |
| ) |
const |
|
inline |
Returns string to used for null entries.
- Returns
- string to used for null entries
Definition at line 1025 of file io/json.hpp.
◆ get_rows_per_chunk()
size_type cudf::io::json_writer_options::get_rows_per_chunk |
( |
| ) |
const |
|
inline |
Returns maximum number of rows to process for each file write.
- Returns
- Maximum number of rows to process for each file write
Definition at line 1053 of file io/json.hpp.
◆ get_sink()
sink_info const& cudf::io::json_writer_options::get_sink |
( |
| ) |
const |
|
inline |
Returns sink used for writer output.
- Returns
- sink used for writer output
Definition at line 1004 of file io/json.hpp.
◆ get_table()
table_view const& cudf::io::json_writer_options::get_table |
( |
| ) |
const |
|
inline |
Returns table that would be written to output.
- Returns
- Table that would be written to output
Definition at line 1011 of file io/json.hpp.
◆ get_true_value()
std::string const& cudf::io::json_writer_options::get_true_value |
( |
| ) |
const |
|
inline |
Returns string used for values != 0 in INT8 types.
- Returns
- string used for values != 0 in INT8 types
Definition at line 1060 of file io/json.hpp.
◆ is_enabled_include_nulls()
bool cudf::io::json_writer_options::is_enabled_include_nulls |
( |
| ) |
const |
|
inline |
Whether to output nulls as 'null'.
- Returns
true
if nulls are output as 'null'
Definition at line 1039 of file io/json.hpp.
◆ is_enabled_lines()
bool cudf::io::json_writer_options::is_enabled_lines |
( |
| ) |
const |
|
inline |
Whether to use JSON lines for records format.
- Returns
true
if JSON lines is used for records format
Definition at line 1046 of file io/json.hpp.
◆ set_compression()
void cudf::io::json_writer_options::set_compression |
( |
compression_type |
comptype | ) |
|
|
inline |
Sets compression type to be used.
- Parameters
-
comptype | Compression type for sink |
Definition at line 1083 of file io/json.hpp.
◆ set_false_value()
void cudf::io::json_writer_options::set_false_value |
( |
std::string |
val | ) |
|
|
inline |
Sets string used for values == 0 in INT8 types.
- Parameters
-
val | String to represent values == 0 in INT8 types |
Definition at line 1132 of file io/json.hpp.
◆ set_metadata()
void cudf::io::json_writer_options::set_metadata |
( |
table_metadata |
metadata | ) |
|
|
inline |
Sets metadata.
- Parameters
-
metadata | Associated metadata |
Definition at line 1090 of file io/json.hpp.
◆ set_na_rep()
void cudf::io::json_writer_options::set_na_rep |
( |
std::string |
val | ) |
|
|
inline |
Sets string to used for null entries.
- Parameters
-
val | String to represent null value |
Definition at line 1097 of file io/json.hpp.
◆ set_rows_per_chunk()
void cudf::io::json_writer_options::set_rows_per_chunk |
( |
size_type |
val | ) |
|
|
inline |
Sets maximum number of rows to process for each file write.
- Parameters
-
val | Number of rows per chunk |
Definition at line 1118 of file io/json.hpp.
◆ set_table()
void cudf::io::json_writer_options::set_table |
( |
table_view |
tbl | ) |
|
|
inline |
Sets table to be written to output.
- Parameters
-
Definition at line 1076 of file io/json.hpp.
◆ set_true_value()
void cudf::io::json_writer_options::set_true_value |
( |
std::string |
val | ) |
|
|
inline |
Sets string used for values != 0 in INT8 types.
- Parameters
-
val | String to represent values != 0 in INT8 types |
Definition at line 1125 of file io/json.hpp.
The documentation for this class was generated from the following file: