Builds settings to use for write_orc()
.
More...
#include <orc.hpp>
Builds settings to use for write_orc()
.
Definition at line 839 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 856 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 998 of file orc.hpp.
◆ compression()
Sets compression type.
- Parameters
-
comp | The compression type to use |
- Returns
- this for chaining
Definition at line 866 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 967 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 980 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 883 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 955 of file orc.hpp.
◆ metadata()
Sets associated metadata.
- Parameters
-
- Returns
- this for chaining
Definition at line 943 of file orc.hpp.
◆ row_index_stride()
Sets the row index stride.
- Parameters
-
- Returns
- this for chaining
Definition at line 919 of file orc.hpp.
◆ stripe_size_bytes()
Sets the maximum stripe size, in bytes.
- Parameters
-
- Returns
- this for chaining
Definition at line 895 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 907 of file orc.hpp.
◆ table()
Sets table to be written to output.
- Parameters
-
- Returns
- this for chaining
Definition at line 931 of file orc.hpp.
The documentation for this class was generated from the following file: