Builds parquet_reader_options to use for read_parquet()
.
More...
#include <parquet.hpp>
Builds parquet_reader_options to use for read_parquet()
.
Definition at line 252 of file parquet.hpp.
◆ parquet_reader_options_builder() [1/2]
cudf::io::parquet_reader_options_builder::parquet_reader_options_builder |
( |
| ) |
|
|
default |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
◆ parquet_reader_options_builder() [2/2]
cudf::io::parquet_reader_options_builder::parquet_reader_options_builder |
( |
source_info |
src | ) |
|
|
inlineexplicit |
Constructor from source info.
- Parameters
-
src | The source information used to read parquet file |
Definition at line 268 of file parquet.hpp.
◆ build()
◆ columns()
Sets names of the columns to be read.
- Parameters
-
col_names | Vector of column names |
- Returns
- this for chaining
Definition at line 276 of file parquet.hpp.
◆ convert_strings_to_categories()
Sets enable/disable conversion of strings to categories.
- Parameters
-
val | Boolean value to enable/disable conversion of string columns to categories |
- Returns
- this for chaining
Definition at line 312 of file parquet.hpp.
◆ filter()
Sets vector of individual row groups to read.
- Parameters
-
filter | Vector of row groups to read |
- Returns
- this for chaining
Definition at line 300 of file parquet.hpp.
◆ num_rows()
Sets number of rows to read.
- Parameters
-
val | Number of rows to read after skip |
- Returns
- this for chaining
Definition at line 360 of file parquet.hpp.
◆ row_groups()
Sets vector of individual row groups to read.
- Parameters
-
row_groups | Vector of row groups to read |
- Returns
- this for chaining
Definition at line 288 of file parquet.hpp.
◆ set_column_schema()
Sets reader metadata.
- Parameters
-
val | Tree of metadata information. |
- Returns
- this for chaining
Definition at line 336 of file parquet.hpp.
◆ skip_rows()
Sets number of rows to skip.
- Parameters
-
val | Number of rows to skip from start |
- Returns
- this for chaining
Definition at line 348 of file parquet.hpp.
◆ timestamp_type()
timestamp_type used to cast timestamp columns.
- Parameters
-
type | The timestamp data_type to which all timestamp columns need to be cast |
- Returns
- this for chaining
Definition at line 372 of file parquet.hpp.
◆ use_pandas_metadata()
Sets to enable/disable use of pandas metadata to read.
- Parameters
-
val | Boolean value whether to use pandas metadata |
- Returns
- this for chaining
Definition at line 324 of file parquet.hpp.
The documentation for this class was generated from the following file: