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

Handle for opening a readable file. More...

#include <file_io.h>

Inheritance diagram for iceberg::InputFile:
iceberg::test::StdInputFile

Public Member Functions

virtual std::string_view location () const =0
 File location represented by this handle.
 
virtual Result< int64_t > Size () const =0
 Return the total file size in bytes.
 
virtual Result< std::unique_ptr< SeekableInputStream > > Open ()=0
 Open a new independent input stream.
 

Detailed Description

Handle for opening a readable file.

Member Function Documentation

◆ location()

virtual std::string_view iceberg::InputFile::location ( ) const
pure virtual

File location represented by this handle.

Implemented in iceberg::test::StdInputFile.

◆ Open()

virtual Result< std::unique_ptr< SeekableInputStream > > iceberg::InputFile::Open ( )
pure virtual

Open a new independent input stream.

Implemented in iceberg::test::StdInputFile.

◆ Size()

virtual Result< int64_t > iceberg::InputFile::Size ( ) const
pure virtual

Return the total file size in bytes.

Implemented in iceberg::test::StdInputFile.


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