Schema of an ORC column, including the nested columns. More...
#include <orc_metadata.hpp>
Public Member Functions | |
orc_column_schema (std::string_view name, orc::TypeKind type, std::vector< orc_column_schema > children) | |
constructor More... | |
auto | name () const |
Returns ORC column name; can be empty. More... | |
auto | type_kind () const |
Returns ORC 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 an ORC column, including the nested columns.
Definition at line 229 of file orc_metadata.hpp.
|
inline |
constructor
name | column name |
type | ORC type |
children | child columns (empty for non-nested types) |
Definition at line 238 of file orc_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
idx | child index |
Definition at line 285 of file orc_metadata.hpp.
|
inline |
Returns schema of the child with the given index.
idx | child index |
Definition at line 279 of file orc_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 270 of file orc_metadata.hpp.
|
inline |
Returns schemas of all child columns.
Definition at line 264 of file orc_metadata.hpp.
|
inline |
Returns ORC column name; can be empty.
Definition at line 250 of file orc_metadata.hpp.
|
inline |
Returns the number of child columns.
Definition at line 292 of file orc_metadata.hpp.
|
inline |
Returns ORC type of the column.
Definition at line 257 of file orc_metadata.hpp.