iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
iceberg::ManifestListReader Class Referenceabstract

Read manifest files from a manifest list file. More...

#include <manifest_reader.h>

Inheritance diagram for iceberg::ManifestListReader:
iceberg::ManifestListReaderImpl

Public Member Functions

virtual Result< std::vector< ManifestFile > > Files () const =0
 Read all manifest files in the manifest list file.
 
virtual Result< std::unordered_map< std::string, std::string > > Metadata () const =0
 Get the metadata of the manifest list file.
 

Static Public Member Functions

static Result< std::unique_ptr< ManifestListReader > > Make (std::string_view manifest_list_location, std::shared_ptr< FileIO > file_io)
 Creates a reader for the manifest list.
 

Detailed Description

Read manifest files from a manifest list file.

Member Function Documentation

◆ Files()

virtual Result< std::vector< ManifestFile > > iceberg::ManifestListReader::Files ( ) const
pure virtual

Read all manifest files in the manifest list file.

Implemented in iceberg::ManifestListReaderImpl.

◆ Make()

Result< std::unique_ptr< ManifestListReader > > iceberg::ManifestListReader::Make ( std::string_view  manifest_list_location,
std::shared_ptr< FileIO file_io 
)
static

Creates a reader for the manifest list.

Parameters
manifest_list_locationPath to the manifest list file.
file_ioFile IO implementation to use.
Returns
A Result containing the reader or an error.

◆ Metadata()

virtual Result< std::unordered_map< std::string, std::string > > iceberg::ManifestListReader::Metadata ( ) const
pure virtual

Get the metadata of the manifest list file.

Implemented in iceberg::ManifestListReaderImpl.


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