29#include <unordered_map>
34#include "iceberg/iceberg_data_export.h"
35#include "iceberg/result.h"
44 std::shared_ptr<Schema> schema;
45 std::shared_ptr<PartitionSpec> spec;
47 FileFormatType format = FileFormatType::kParquet;
48 std::shared_ptr<FileIO> io;
49 int64_t flush_threshold = 1000;
50 std::unordered_map<std::string, std::string> properties;
59 static Result<std::unique_ptr<PositionDeleteWriter>> Make(
63 Status WriteDelete(std::string_view file_path, int64_t pos);
64 Result<int64_t> Length()
const override;
65 Status Close()
override;
66 Result<WriteResult> Metadata()
override;
70 std::unique_ptr<Impl> impl_;
Base interface for data file writers.
Definition writer.h:37
StructLike wrapper for a vector of literals that represent partition values.
Definition partition_values.h:36
Definition position_delete_writer.cc:40
Writer for Iceberg position delete files.
Definition position_delete_writer.h:54
Definition arrow_c_data.h:57
Options for creating a PositionDeleteWriter.
Definition position_delete_writer.h:42