|
iceberg-cpp
|
Public Member Functions | |
| StdSeekableInputStream (std::string location) | |
| bool | is_open () const |
| Result< int64_t > | Position () const override |
| Return the current read position. | |
| Status | Seek (int64_t position) override |
| Seek to an absolute byte position. | |
| Result< int64_t > | Read (std::span< std::byte > out) override |
| Read up to out.size() bytes from the current position. | |
| Status | ReadFully (int64_t position, std::span< std::byte > out) override |
| Read exactly out.size() bytes from an absolute position. | |
| Status | Close () override |
| Close the stream. Implementations should allow repeated Close calls. | |
|
inlineoverridevirtual |
Close the stream. Implementations should allow repeated Close calls.
Implements iceberg::SeekableInputStream.
|
inlineoverridevirtual |
Return the current read position.
Implements iceberg::SeekableInputStream.
|
inlineoverridevirtual |
Read up to out.size() bytes from the current position.
Implements iceberg::SeekableInputStream.
|
inlineoverridevirtual |
Read exactly out.size() bytes from an absolute position.
Fails if fewer than out.size() bytes are available. The current stream position after this call is unspecified; callers should Seek before subsequent position-dependent reads.
Implements iceberg::SeekableInputStream.
|
inlineoverridevirtual |
Seek to an absolute byte position.
Implements iceberg::SeekableInputStream.