Schema of a parquet column, including the nested columns. More...
#include <parquet_metadata.hpp>
Public Member Functions | |
| parquet_column_schema () | |
| Default constructor. More... | |
| parquet_column_schema (std::string_view name, Type type, std::vector< parquet_column_schema > &&children, data_type cudf_type) | |
| constructor More... | |
| auto | name () const |
| Returns parquet column name; can be empty. More... | |
| auto | type () const |
| Returns parquet physical type of the column. More... | |
| auto const & | children () const & |
| Returns schemas of all child columns. More... | |
| auto | children () && |
| Returns schemas of all child columns. More... | |
| auto const & | child (int idx) const & |
| Returns schema of the child with the given index. More... | |
| auto | child (int idx) && |
| Returns schema of the child with the given index. More... | |
| auto | num_children () const |
| Returns the number of child columns. More... | |
| auto | cudf_type () const |
| Returns the cudf data type for this column. More... | |
Schema of a parquet column, including the nested columns.
Definition at line 35 of file parquet_metadata.hpp.
|
inlineexplicit |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
Definition at line 42 of file parquet_metadata.hpp.
|
inline |
constructor
| name | column name |
| type | parquet type |
| children | child columns (empty for non-nested types) |
| cudf_type | cudf data type |
Definition at line 52 of file parquet_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
| idx | child index |
Definition at line 100 of file parquet_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
| idx | child index |
Definition at line 94 of file parquet_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 85 of file parquet_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 79 of file parquet_metadata.hpp.
|
inline |
Returns the cudf data type for this column.
This is the resolved cudf data type mapped from the Parquet physical/logical types.
Definition at line 116 of file parquet_metadata.hpp.
|
inline |
Returns parquet column name; can be empty.
Definition at line 65 of file parquet_metadata.hpp.
|
inline |
Returns the number of child columns.
Definition at line 107 of file parquet_metadata.hpp.
|
inline |
Returns parquet physical type of the column.
Definition at line 72 of file parquet_metadata.hpp.