Builds settings to use for write_orc()
.
More...
#include <orc.hpp>
Builds settings to use for write_orc()
.
Definition at line 694 of file orc.hpp.
◆ orc_writer_options_builder() [1/2]
cudf::io::orc_writer_options_builder::orc_writer_options_builder |
( |
| ) |
|
|
default |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ orc_writer_options_builder() [2/2]
cudf::io::orc_writer_options_builder::orc_writer_options_builder |
( |
sink_info const & |
sink, |
|
|
table_view const & |
table |
|
) |
| |
|
inline |
Constructor from sink and table.
- Parameters
-
sink | The sink used for writer output |
table | Table to be written to output |
Definition at line 711 of file orc.hpp.
◆ build()
move orc_writer_options member once it's built.
This has been added since Cython does not support overloading of conversion operators.
- Returns
- Built
orc_writer_options
object's r-value reference
Definition at line 853 of file orc.hpp.
◆ compression()
Sets compression type.
- Parameters
-
comp | The compression type to use |
- Returns
- this for chaining
Definition at line 721 of file orc.hpp.
◆ compression_statistics()
Sets the pointer to the output compression statistics.
- Parameters
-
comp_stats | Pointer to compression statistics to be filled once writer is done |
- Returns
- this for chaining
Definition at line 822 of file orc.hpp.
◆ enable_dictionary_sort()
Sets whether string dictionaries should be sorted.
- Parameters
-
val | Boolean value to enable/disable |
- Returns
- this for chaining
Definition at line 835 of file orc.hpp.
◆ enable_statistics()
Choose granularity of column statistics to be written.
The granularity can be set to:
- cudf::io::STATISTICS_NONE: No statistics are collected.
- cudf::io::ORC_STATISTICS_STRIPE: Statistics are collected for each ORC stripe.
- cudf::io::ORC_STATISTICS_ROWGROUP: Statistics are collected for each ORC row group.
- Parameters
-
val | Level of statistics collection |
- Returns
- this for chaining
Definition at line 738 of file orc.hpp.
◆ key_value_metadata()
orc_writer_options_builder& cudf::io::orc_writer_options_builder::key_value_metadata |
( |
std::map< std::string, std::string > |
metadata | ) |
|
|
inline |
Sets Key-Value footer metadata.
- Parameters
-
metadata | Key-Value footer metadata |
- Returns
- this for chaining
Definition at line 810 of file orc.hpp.
◆ metadata()
Sets associated metadata.
- Parameters
-
- Returns
- this for chaining
Definition at line 798 of file orc.hpp.
◆ row_index_stride()
Sets the row index stride.
- Parameters
-
- Returns
- this for chaining
Definition at line 774 of file orc.hpp.
◆ stripe_size_bytes()
Sets the maximum stripe size, in bytes.
- Parameters
-
- Returns
- this for chaining
Definition at line 750 of file orc.hpp.
◆ stripe_size_rows()
Sets the maximum number of rows in output stripes.
- Parameters
-
val | maximum number or rows |
- Returns
- this for chaining
Definition at line 762 of file orc.hpp.
◆ table()
Sets table to be written to output.
- Parameters
-
- Returns
- this for chaining
Definition at line 786 of file orc.hpp.
The documentation for this class was generated from the following file: