schema element for reader
More...
#include <types.hpp>
schema element for reader
Definition at line 910 of file io/types.hpp.
◆ reader_column_schema() [1/2]
cudf::io::reader_column_schema::reader_column_schema |
( |
size_type |
number_of_children | ) |
|
|
inline |
Construct a new reader column schema object.
- Parameters
-
number_of_children | number of child schema objects to default construct |
Definition at line 924 of file io/types.hpp.
◆ reader_column_schema() [2/2]
Construct a new reader column schema object with a span defining the children.
- Parameters
-
child_span | span of child schema objects |
Definition at line 931 of file io/types.hpp.
◆ add_child()
Add the children metadata of this column.
- Parameters
-
child | The children metadata of this column to add |
- Returns
- this for chaining
Definition at line 942 of file io/types.hpp.
◆ child() [1/2]
Get reference to a child of this column.
- Parameters
-
i | Index of the child to get |
- Returns
- this for chaining
Definition at line 954 of file io/types.hpp.
◆ child() [2/2]
Get const reference to a child of this column.
- Parameters
-
i | Index of the child to get |
- Returns
- this for chaining
Definition at line 962 of file io/types.hpp.
◆ get_num_children()
size_t cudf::io::reader_column_schema::get_num_children |
( |
| ) |
const |
|
inline |
Get the number of child objects.
- Returns
- number of children
Definition at line 993 of file io/types.hpp.
◆ is_enabled_convert_binary_to_strings()
bool cudf::io::reader_column_schema::is_enabled_convert_binary_to_strings |
( |
| ) |
const |
|
inline |
Get whether to encode this column as binary or string data.
- Returns
- Boolean indicating whether to encode this column as binary data
Definition at line 983 of file io/types.hpp.
◆ set_convert_binary_to_strings()
reader_column_schema& cudf::io::reader_column_schema::set_convert_binary_to_strings |
( |
bool |
convert_to_string | ) |
|
|
inline |
Specifies whether this column should be written as binary or string data Only valid for the following column types: string, list<int8>
- Parameters
-
convert_to_string | True = convert binary to strings False = return binary |
- Returns
- this for chaining
Definition at line 972 of file io/types.hpp.
The documentation for this class was generated from the following file: