Public Member Functions | List of all members
cudf::io::parquet_schema Struct Reference

Schema of a parquet file. More...

#include <parquet_metadata.hpp>

Public Member Functions

 parquet_schema ()=default
 Default constructor. More...
 
 parquet_schema (parquet_column_schema root_column_schema)
 constructor More...
 
auto const & root () const &
 Returns the schema of the struct column that contains all columns as fields. More...
 
auto root () &&
 Returns the schema of the struct column that contains all columns as fields. More...
 

Detailed Description

Schema of a parquet file.

Definition at line 143 of file parquet_metadata.hpp.

Constructor & Destructor Documentation

◆ parquet_schema() [1/2]

cudf::io::parquet_schema::parquet_schema ( )
explicitdefault

Default constructor.

This has been added since Cython requires a default constructor to create objects on stack.

◆ parquet_schema() [2/2]

cudf::io::parquet_schema::parquet_schema ( parquet_column_schema  root_column_schema)
inline

constructor

Parameters
root_column_schemaroot column

Definition at line 157 of file parquet_metadata.hpp.

Member Function Documentation

◆ root() [1/2]

auto cudf::io::parquet_schema::root ( ) &&
inline

Returns the schema of the struct column that contains all columns as fields.

Returns
Root column schema Root column schema is moved out of the object (rvalues only).

Definition at line 170 of file parquet_metadata.hpp.

◆ root() [2/2]

auto const& cudf::io::parquet_schema::root ( ) const &
inline

Returns the schema of the struct column that contains all columns as fields.

Returns
Root column schema

Definition at line 164 of file parquet_metadata.hpp.


The documentation for this struct was generated from the following file: