|
iceberg-cpp
|
Base interface for data file writers. More...
#include <writer.h>
Classes | |
| struct | WriteResult |
| File metadata for all files produced by this writer. More... | |
Public Member Functions | |
| virtual Status | Write (ArrowArray *data)=0 |
| Write a batch of records. | |
| virtual Result< int64_t > | Length () const =0 |
| Get the current number of bytes written. | |
| virtual Status | Close ()=0 |
| Close the writer and finalize the file. | |
| virtual Result< WriteResult > | Metadata ()=0 |
| Get file metadata for all files produced by this writer. | |
Base interface for data file writers.
|
pure virtual |
Close the writer and finalize the file.
Implemented in iceberg::DataWriter, iceberg::EqualityDeleteWriter, and iceberg::PositionDeleteWriter.
|
pure virtual |
Get the current number of bytes written.
Implemented in iceberg::DataWriter, iceberg::EqualityDeleteWriter, and iceberg::PositionDeleteWriter.
|
pure virtual |
Get file metadata for all files produced by this writer.
Implemented in iceberg::DataWriter, iceberg::EqualityDeleteWriter, and iceberg::PositionDeleteWriter.
|
pure virtual |
Write a batch of records.
Implemented in iceberg::DataWriter, iceberg::EqualityDeleteWriter, and iceberg::PositionDeleteWriter.