Builder to build options for writer_csv()
More...
#include <cudf/io/csv.hpp>
Builder to build options for writer_csv()
Definition at line 1592 of file csv.hpp.
◆ csv_writer_options_builder() [1/2]
| cudf::io::csv_writer_options_builder::csv_writer_options_builder |
( |
| ) |
|
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ csv_writer_options_builder() [2/2]
| cudf::io::csv_writer_options_builder::csv_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 1609 of file csv.hpp.
◆ build()
◆ 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 1704 of file csv.hpp.
◆ include_header()
Enables/Disables headers being written to csv.
- Parameters
-
| val | Boolean value to enable/disable |
- Returns
- this for chaining
Definition at line 1644 of file csv.hpp.
◆ inter_column_delimiter()
Sets character used for separating column values.
- Parameters
-
| delim | Character to delimit column values |
- Returns
- this for chaining
Definition at line 1680 of file csv.hpp.
◆ line_terminator()
Sets character used for separating lines.
- Parameters
-
| term | Character to represent line termination |
- Returns
- this for chaining
Definition at line 1668 of file csv.hpp.
◆ na_rep()
Sets string to used for null entries.
- Parameters
-
| val | String to represent null value |
- Returns
- this for chaining
Definition at line 1632 of file csv.hpp.
◆ names()
Sets optional column names.
- Parameters
-
- Returns
- this for chaining
Definition at line 1620 of file csv.hpp.
◆ quoting()
Sets the quote style for the writer.
Only MINIMAL and NONE are supported.
- Parameters
-
| quoting | The new quote style for the writer. |
- Returns
- this for chaining
Definition at line 1718 of file csv.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 1656 of file csv.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 1692 of file csv.hpp.
The documentation for this class was generated from the following file: