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, parquet::TypeKind type, std::vector< parquet_column_schema > children) | |
constructor More... | |
auto | name () const |
Returns parquet column name; can be empty. More... | |
auto | type_kind () const |
Returns parquet 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 61 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 77 of file parquet_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
idx | child index |
Definition at line 124 of file parquet_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
idx | child index |
Definition at line 118 of file parquet_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 109 of file parquet_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 103 of file parquet_metadata.hpp.
|
inline |
Returns parquet column name; can be empty.
Definition at line 89 of file parquet_metadata.hpp.
|
inline |
Returns the number of child columns.
Definition at line 131 of file parquet_metadata.hpp.
|
inline |
Returns parquet type of the column.
Definition at line 96 of file parquet_metadata.hpp.