|
iceberg-cpp
|
Handle for creating a writable file. More...
#include <file_io.h>
Public Member Functions | |
| virtual std::string_view | location () const =0 |
| File location represented by this handle. | |
| virtual Result< std::unique_ptr< PositionOutputStream > > | Create ()=0 |
| Create a new output stream and fail if the file already exists. | |
| virtual Result< std::unique_ptr< PositionOutputStream > > | CreateOrOverwrite ()=0 |
| Create a new output stream, replacing any existing file. | |
Handle for creating a writable file.
|
pure virtual |
Create a new output stream and fail if the file already exists.
Implemented in iceberg::test::StdOutputFile.
|
pure virtual |
Create a new output stream, replacing any existing file.
Implemented in iceberg::test::StdOutputFile.
|
pure virtual |
File location represented by this handle.
Implemented in iceberg::test::StdOutputFile.