|
iceberg-cpp
|
Positioned byte stream for writing file contents. More...
#include <file_io.h>
Public Member Functions | |
| virtual Result< int64_t > | Position () const =0 |
| Return the current write position. | |
| virtual Status | Write (std::span< const std::byte > data)=0 |
| Write all bytes in data at the current position. | |
| virtual Status | Flush ()=0 |
| Flush buffered data to the underlying store. | |
| virtual Status | Close ()=0 |
| Close the stream. Implementations should allow repeated Close calls. | |
Positioned byte stream for writing file contents.
|
pure virtual |
Close the stream. Implementations should allow repeated Close calls.
Implemented in iceberg::test::StdPositionOutputStream.
|
pure virtual |
Flush buffered data to the underlying store.
Implemented in iceberg::test::StdPositionOutputStream.
|
pure virtual |
Return the current write position.
Implemented in iceberg::test::StdPositionOutputStream.
|
pure virtual |
Write all bytes in data at the current position.
Implemented in iceberg::test::StdPositionOutputStream.