iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::test::StdInputFile Class Reference
Inheritance diagram for iceberg::test::StdInputFile:
iceberg::InputFile

Public Member Functions

 StdInputFile (std::string location, std::optional< int64_t > file_size=std::nullopt)
 
std::string_view location () const override
 File location represented by this handle.
 
Result< int64_t > Size () const override
 Return the total file size in bytes.
 
Result< std::unique_ptr< SeekableInputStream > > Open () override
 Open a new independent input stream.
 

Member Function Documentation

◆ location()

std::string_view iceberg::test::StdInputFile::location ( ) const
inlineoverridevirtual

File location represented by this handle.

Implements iceberg::InputFile.

◆ Open()

Result< std::unique_ptr< SeekableInputStream > > iceberg::test::StdInputFile::Open ( )
inlineoverridevirtual

Open a new independent input stream.

Implements iceberg::InputFile.

◆ Size()

Result< int64_t > iceberg::test::StdInputFile::Size ( ) const
inlineoverridevirtual

Return the total file size in bytes.

Implements iceberg::InputFile.


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