|
iceberg-cpp
|
A writer that writes ArrowArray to Parquet files. More...
#include <parquet_writer.h>
Classes | |
| class | Impl |
Public Member Functions | |
| Status | Open (const WriterOptions &options) final |
| Open the writer. | |
| Status | Close () final |
| Close the writer. | |
| Status | Write (ArrowArray *array) final |
| Write arrow data to the file. | |
| Result< Metrics > | metrics () final |
| Get the file statistics. Only valid after the file is closed. | |
| Result< int64_t > | length () final |
| Get the file length. This can be called while the writer is still open or after the file is closed. | |
| std::vector< int64_t > | split_offsets () final |
| Returns a list of recommended split locations, if applicable, empty otherwise. When available, this information is used for planning scan tasks whose boundaries are determined by these offsets. The returned list must be sorted in ascending order. Only valid after the file is closed. | |
Public Member Functions inherited from iceberg::Writer | |
| Writer (const Writer &)=delete | |
| Writer & | operator= (const Writer &)=delete |
A writer that writes ArrowArray to Parquet files.
|
finalvirtual |
Close the writer.
Implements iceberg::Writer.
|
finalvirtual |
Get the file length. This can be called while the writer is still open or after the file is closed.
Implements iceberg::Writer.
|
finalvirtual |
Get the file statistics. Only valid after the file is closed.
Implements iceberg::Writer.
|
finalvirtual |
Open the writer.
Implements iceberg::Writer.
|
finalvirtual |
Returns a list of recommended split locations, if applicable, empty otherwise. When available, this information is used for planning scan tasks whose boundaries are determined by these offsets. The returned list must be sorted in ascending order. Only valid after the file is closed.
Implements iceberg::Writer.
|
finalvirtual |
Write arrow data to the file.
Implements iceberg::Writer.