libcudf
23.12.00
|
Settings to use for write_orc()
.
More...
#include <orc.hpp>
Public Member Functions | |
orc_writer_options ()=default | |
Default constructor. More... | |
sink_info const & | get_sink () const |
Returns sink info. More... | |
compression_type | get_compression () const |
Returns compression type. More... | |
bool | is_enabled_statistics () const |
Whether writing column statistics is enabled/disabled. More... | |
statistics_freq | get_statistics_freq () const |
Returns frequency of statistics collection. More... | |
auto | get_stripe_size_bytes () const |
Returns maximum stripe size, in bytes. More... | |
auto | get_stripe_size_rows () const |
Returns maximum stripe size, in rows. More... | |
auto | get_row_index_stride () const |
Returns the row index stride. More... | |
table_view | get_table () const |
Returns table to be written to output. More... | |
auto const & | get_metadata () const |
Returns associated metadata. More... | |
std::map< std::string, std::string > const & | get_key_value_metadata () const |
Returns Key-Value footer metadata information. More... | |
std::shared_ptr< writer_compression_statistics > | get_compression_statistics () const |
Returns a shared pointer to the user-provided compression statistics. More... | |
bool | get_enable_dictionary_sort () const |
Returns whether string dictionaries should be sorted. More... | |
void | set_compression (compression_type comp) |
Sets compression type. More... | |
void | enable_statistics (statistics_freq val) |
Choose granularity of statistics collection. More... | |
void | set_stripe_size_bytes (size_t size_bytes) |
Sets the maximum stripe size, in bytes. More... | |
void | set_stripe_size_rows (size_type size_rows) |
Sets the maximum stripe size, in rows. More... | |
void | set_row_index_stride (size_type stride) |
Sets the row index stride. More... | |
void | set_table (table_view tbl) |
Sets table to be written to output. More... | |
void | set_metadata (table_input_metadata meta) |
Sets associated metadata. More... | |
void | set_key_value_metadata (std::map< std::string, std::string > metadata) |
Sets metadata. More... | |
void | set_compression_statistics (std::shared_ptr< writer_compression_statistics > comp_stats) |
Sets the pointer to the output compression statistics. More... | |
void | set_enable_dictionary_sort (bool val) |
Sets whether string dictionaries should be sorted. More... | |
Static Public Member Functions | |
static orc_writer_options_builder | builder (sink_info const &sink, table_view const &table) |
Create builder to create orc_writer_options . More... | |
Settings to use for write_orc()
.
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
|
static |
Create builder to create orc_writer_options
.
sink | The sink used for writer output |
table | Table to be written to output |
orc_writer_options
|
inline |
Choose granularity of statistics collection.
The granularity can be set to:
val | Frequency of statistics collection |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the row index stride.
Rounded down to a multiple of 8.
stride | Row index stride to be set |
cudf::logic_error | if a value below the minimal row index stride is passed |
|
inline |
Sets the maximum stripe size, in bytes.
size_bytes | Maximum stripe size, in bytes to be set |
cudf::logic_error | if a value below the minimal size is passed |
|
inline |
Sets the maximum stripe size, in rows.
If the stripe size is smaller that the row group size, row group size will be reduced to math the stripe size.
size_rows | Maximum stripe size, in rows to be set |
cudf::logic_error | if a value below the minimal number of rows is passed |
|
inline |