用于 read_avro()
的设置。更多...
#include <avro.hpp>
公共成员函数 | |
avro_reader_options ()=default | |
默认构造函数。更多... | |
source_info const & | get_source () const |
返回源信息。更多... | |
std::vector< std::string > | get_columns () const |
返回要读取的列名。更多... | |
size_type | get_skip_rows () const |
返回从开头跳过的行数。更多... | |
size_type | get_num_rows () const |
返回要读取的行数。更多... | |
void | set_columns (std::vector< std::string > col_names) |
设置要读取的列名。更多... | |
void | set_skip_rows (size_type val) |
设置要跳过的行数。更多... | |
void | set_num_rows (size_type val) |
设置要读取的行数。更多... | |
静态公共成员函数 | |
static avro_reader_options_builder | builder (source_info src) |
创建 avro_reader_options_builder,它将构建 avro_reader_options。更多... | |
用于 read_avro()
的设置。
|
默认 |
默认构造函数。
添加此构造函数是因为 Cython 需要默认构造函数才能在栈上创建对象。
|
静态 |
创建 avro_reader_options_builder,它将构建 avro_reader_options。
src | 用于读取 avro 文件的源信息 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |