Schema of a parquet column, including the nested columns. More...
#include <parquet_metadata.hpp>
Public Member Functions | |
| parquet_column_schema ()=default | |
| Default constructor. More... | |
| parquet_column_schema (std::string_view name, Type type, std::vector< parquet_column_schema > children) | |
| 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... | |
Schema of a parquet column, including the nested columns.
Definition at line 45 of file parquet_metadata.hpp.
|
explicitdefault |
Default constructor.
This has been added since Cython requires a default constructor to create objects on stack.
|
inline |
constructor
| name | column name |
| type | parquet type |
| children | child columns (empty for non-nested types) |
Definition at line 61 of file parquet_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
| idx | child index |
Definition at line 108 of file parquet_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
| idx | child index |
Definition at line 102 of file parquet_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 93 of file parquet_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 87 of file parquet_metadata.hpp.
|
inline |
Returns parquet column name; can be empty.
Definition at line 73 of file parquet_metadata.hpp.
|
inline |
Returns the number of child columns.
Definition at line 115 of file parquet_metadata.hpp.
|
inline |
Returns parquet physical type of the column.
Definition at line 80 of file parquet_metadata.hpp.