schema element for reader
More...
#include <types.hpp>
schema element for reader
Definition at line 984 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 999 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 1006 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 1017 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 1029 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 1037 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 1087 of file io/types.hpp.
◆ get_type_length()
int32_t cudf::io::reader_column_schema::get_type_length |
( |
| ) |
const |
|
inline |
Get the length in bytes of this fixed length data.
- Returns
- The length in bytes of the data type
Definition at line 1080 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 1070 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 1047 of file io/types.hpp.
◆ set_type_length()
Sets the length of fixed length data.
- Parameters
-
type_length | Size of the data type in bytes |
- Returns
- this for chaining
Definition at line 1059 of file io/types.hpp.
The documentation for this class was generated from the following file: