|
iceberg-cpp
|
Public Member Functions | |
| StdPositionOutputStream (std::string location) | |
| bool | is_open () const |
| Result< int64_t > | Position () const override |
| Return the current write position. | |
| Result< int64_t > | StoredLength () const override |
| Return the current stored length of the output. | |
| Status | Write (std::span< const std::byte > data) override |
| Write all bytes in data at the current position. | |
| Status | Flush () override |
| Flush buffered data to the underlying store. | |
| Status | Close () override |
| Close the stream. Implementations should allow repeated Close calls. | |
|
inlineoverridevirtual |
Close the stream. Implementations should allow repeated Close calls.
Implements iceberg::PositionOutputStream.
|
inlineoverridevirtual |
Flush buffered data to the underlying store.
Implements iceberg::PositionOutputStream.
|
inlineoverridevirtual |
Return the current write position.
Implements iceberg::PositionOutputStream.
|
inlineoverridevirtual |
Return the current stored length of the output.
This can differ from the current position for encrypting streams, and for other non-length-preserving streams.
Reimplemented from iceberg::PositionOutputStream.
|
inlineoverridevirtual |
Write all bytes in data at the current position.
Implements iceberg::PositionOutputStream.