30#include "iceberg/iceberg_data_export.h"
31#include "iceberg/result.h"
46 virtual Result<int64_t>
Length()
const = 0;
Base interface for data file writers.
Definition writer.h:37
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.
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.
Definition arrow_c_data.h:57
File metadata for all files produced by this writer.
Definition writer.h:52
std::vector< std::shared_ptr< DataFile > > data_files
Definition writer.h:56