Public Member Functions | List of all members
cudf::io::orc_metadata Class Reference

Information about content of an ORC file. More...

#include <orc_metadata.hpp>

Public Member Functions

 orc_metadata (orc_schema schema, size_type num_rows, size_type num_stripes)
 constructor More...
 
auto const & schema () const
 Returns the ORC schema. More...
 
auto num_rows () const
 Returns the number of rows of the root column. More...
 
auto num_stripes () const
 Returns the number of stripes in the file. More...
 

Detailed Description

Information about content of an ORC file.

Definition at line 325 of file orc_metadata.hpp.

Constructor & Destructor Documentation

◆ orc_metadata()

cudf::io::orc_metadata::orc_metadata ( orc_schema  schema,
size_type  num_rows,
size_type  num_stripes 
)
inline

constructor

Parameters
schemaORC schema
num_rowsnumber of rows
num_stripesnumber of stripes

Definition at line 334 of file orc_metadata.hpp.

Member Function Documentation

◆ num_rows()

auto cudf::io::orc_metadata::num_rows ( ) const
inline

Returns the number of rows of the root column.

If a file contains list columns, nested columns can have a different number of rows.

Returns
Number of rows

Definition at line 354 of file orc_metadata.hpp.

◆ num_stripes()

auto cudf::io::orc_metadata::num_stripes ( ) const
inline

Returns the number of stripes in the file.

Returns
Number of stripes

Definition at line 361 of file orc_metadata.hpp.

◆ schema()

auto const& cudf::io::orc_metadata::schema ( ) const
inline

Returns the ORC schema.

Returns
ORC schema Number of rows in the root column; can vary for nested columns

Definition at line 344 of file orc_metadata.hpp.


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