Builds settings to use for write_orc().
More...
#include <orc.hpp>
Builds settings to use for write_orc().
Definition at line 886 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 903 of file orc.hpp.
◆ build()
◆ compression()
Sets compression type.
- Parameters
-
| comp | The compression type to use |
- Returns
- this for chaining
Definition at line 913 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 1014 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 1027 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 930 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 1002 of file orc.hpp.
◆ metadata()
Sets associated metadata.
- Parameters
-
- Returns
- this for chaining
Definition at line 990 of file orc.hpp.
◆ row_index_stride()
Sets the row index stride.
- Parameters
-
- Returns
- this for chaining
Definition at line 966 of file orc.hpp.
◆ stripe_size_bytes()
Sets the maximum stripe size, in bytes.
- Parameters
-
- Returns
- this for chaining
Definition at line 942 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 954 of file orc.hpp.
◆ table()
Sets table to be written to output.
- Parameters
-
- Returns
- this for chaining
Definition at line 978 of file orc.hpp.
The documentation for this class was generated from the following file: