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

Public Member Functions

 AvroOutputStream (std::shared_ptr<::arrow::io::OutputStream > output_stream, int64_t buffer_size)
 
bool next (uint8_t **data, size_t *len) override
 Returns a buffer that can be written into. On successful return, data has the pointer to the buffer and len has the number of bytes available at data.
 
void backup (size_t len) override
 "Returns" back to the stream some of the buffer obtained from in the last call to next().
 
uint64_t byteCount () const override
 Number of bytes written so far into this stream. The whole buffer returned by next() is assumed to be written unless some of it was returned using backup().
 
void flush () override
 Flushes any data remaining in the buffer to the stream's underlying store, if any.
 
const std::shared_ptr<::arrow::io::OutputStream > & arrow_output_stream () const
 

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