Settings to use for read_avro()
.
More...
#include <avro.hpp>
Settings to use for read_avro()
.
Definition at line 44 of file avro.hpp.
◆ avro_reader_options()
cudf::io::avro_reader_options::avro_reader_options |
( |
| ) |
|
|
default |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ builder()
◆ get_columns()
std::vector<std::string> cudf::io::avro_reader_options::get_columns |
( |
| ) |
const |
|
inline |
Returns names of the columns to be read.
- Returns
- Names of the columns to be read
Definition at line 84 of file avro.hpp.
◆ get_num_rows()
size_type cudf::io::avro_reader_options::get_num_rows |
( |
| ) |
const |
|
inline |
Returns number of rows to read.
- Returns
- Number of rows to read
Definition at line 98 of file avro.hpp.
◆ get_skip_rows()
size_type cudf::io::avro_reader_options::get_skip_rows |
( |
| ) |
const |
|
inline |
Returns number of rows to skip from the start.
- Returns
- Number of rows to skip from the start
Definition at line 91 of file avro.hpp.
◆ get_source()
source_info const& cudf::io::avro_reader_options::get_source |
( |
| ) |
const |
|
inline |
Returns source info.
- Returns
- Source info
Definition at line 77 of file avro.hpp.
◆ set_columns()
void cudf::io::avro_reader_options::set_columns |
( |
std::vector< std::string > |
col_names | ) |
|
|
inline |
Set names of the column to be read.
- Parameters
-
col_names | Vector of column names |
Definition at line 105 of file avro.hpp.
◆ set_num_rows()
void cudf::io::avro_reader_options::set_num_rows |
( |
size_type |
val | ) |
|
|
inline |
Sets number of rows to read.
- Parameters
-
val | Number of rows to read after skip |
Definition at line 119 of file avro.hpp.
◆ set_skip_rows()
void cudf::io::avro_reader_options::set_skip_rows |
( |
size_type |
val | ) |
|
|
inline |
Sets number of rows to skip.
- Parameters
-
val | Number of rows to skip from start |
Definition at line 112 of file avro.hpp.
The documentation for this class was generated from the following file: