iceberg-cpp
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
iceberg::parquet::ParquetReader Class Reference

A reader that reads ArrowArray from Parquet files. More...

#include <parquet_reader.h>

Inheritance diagram for iceberg::parquet::ParquetReader:
iceberg::Reader

Classes

class  Impl
 

Public Member Functions

Status Open (const ReaderOptions &options) final
 Open the reader.
 
Status Close () final
 Close the reader.
 
Result< std::optional< ArrowArray > > Next () final
 Read next data from file.
 
Result< ArrowSchemaSchema () final
 Get the schema of the data.
 
Result< std::unordered_map< std::string, std::string > > Metadata () final
 Get the metadata of the file.
 
- Public Member Functions inherited from iceberg::Reader
 Reader (const Reader &)=delete
 
Readeroperator= (const Reader &)=delete
 

Detailed Description

A reader that reads ArrowArray from Parquet files.

Member Function Documentation

◆ Close()

Status iceberg::parquet::ParquetReader::Close ( )
finalvirtual

Close the reader.

Implements iceberg::Reader.

◆ Metadata()

Result< std::unordered_map< std::string, std::string > > iceberg::parquet::ParquetReader::Metadata ( )
finalvirtual

Get the metadata of the file.

Implements iceberg::Reader.

◆ Next()

Result< std::optional< ArrowArray > > iceberg::parquet::ParquetReader::Next ( )
finalvirtual

Read next data from file.

Returns
std::nullopt if the reader has no more data, otherwise ArrowArray.

Implements iceberg::Reader.

◆ Open()

Status iceberg::parquet::ParquetReader::Open ( const ReaderOptions options)
finalvirtual

Open the reader.

Implements iceberg::Reader.

◆ Schema()

Result< ArrowSchema > iceberg::parquet::ParquetReader::Schema ( )
finalvirtual

Get the schema of the data.

Implements iceberg::Reader.


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